Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2017, 01:50 AM
hussainshaikh1 hussainshaikh1 is offline Limit min and max number to a cell based on country selection Windows 10 Limit min and max number to a cell based on country selection Office 2007
Novice
Limit min and max number to a cell based on country selection
 
Join Date: Feb 2017
Posts: 2
hussainshaikh1 is on a distinguished road
Post Limit min and max number to a cell based on country selection

Hi,



Please help.

I have designed a mastersheet and would like to have some help as below:

1. The length of contact number for different counties varies. For Example UAE has 11 digit phone number with country (9714401234567) and Saudo Arabia as 12 (966111234567).

I have a drop down list of countries. I want the contact number column to accept not less / more than the digits specified for each country.

For example: If I select Country UAE, the contact number field should only accept not less or more than 11 digits.
If I select Saudi Arabia the contact number cell should automatically accept not less or more than 12 digits.

I have attached the file for your reference. Currently I have added a validation in Contact Number column that can only accept min and max 11 digits.

Please help
Attached Files
File Type: xlsm CRIF Data Build Template 2017.xlsm (62.9 KB, 9 views)
Reply With Quote
  #2  
Old 02-02-2017, 07:06 AM
xor xor is offline Limit min and max number to a cell based on country selection Windows 10 Limit min and max number to a cell based on country selection Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

I answered here before request was deleted.

https://www.msofficeforums.com/excel...cent-cell.html
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Increase number in cell, based on value in adjacent cell scottyb Excel 3 02-02-2017 03:51 AM
Limit min and max number to a cell based on country selection Limit data input to each cell in a column TimTDP Excel 1 05-06-2016 04:29 AM
Limit min and max number to a cell based on country selection Formula, Compare two cell's text and based on results output a number Offrddrver Excel 4 03-23-2016 11:32 PM
Limit min and max number to a cell based on country selection Is there a limit to the number of labels that can be merged inOffice 2010 djsn Mail Merge 3 06-22-2012 05:52 AM
Limit min and max number to a cell based on country selection Limit cell range use talkinglens Excel 6 12-31-2010 08:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft