Data Validation Using Name Range & Data Range
Branch Branch FinYear Length
Delhi Delhi 2023-2024 1
Mumbai Mumbai 9/16/2025 25
Raigadh Raigadh 9/18/2025
Manoj
shenoy
Branch Branch_TB DocDate ErrorAlerts
3/4/2025 Stop
3/7/2025 Warning Dynamic
3/8/2025nformation
F3-to select table range defined using Formula-Name Manager
Go to Data Validate - Settings - List
Go to Data Validation-Input Message-Type text me
Go to Data Validation-Error Alerts-Type your mess
Here you have 3 alerts Stop, Warning & Informatio
Select as per the severity of the entry of data
Select Branch From Dropdown List or Update
Master Data First
Text Length Mobile Number How to create formula for Data Validation
Static Manoj 1234567890 Length
Dynamic Om 1234567890 Isnumber
M AND
10 =LEN(M12)
1 =ISNUMBER(M12)
1 =AND(LEN(M12)=10,ISNUMBER(M12))
You Should Know
LEN()
AND
ISNUMBER()
For the range of
Data Validation :
Home-Find & Select
- Data Validation
te formula for Data Validation
#N/A
#N/A
#N/A
12)=10,ISNUMBER(M12))
Dependent Data Validation Using INDIRECT()
Countries Canada Germany UK Country Offices
Canada Vancouver Berlin Swindon Canada Vancouver
Germany Quebec Stuttgart Portsmouth Germany Stuttgart
UK NewCity Cologne Reading UK Reading
Dependent Dropdown List
Prerequisite: Name Range is required for dependent Dropdown List
Data-Validation-List-INDIRECT()
Select the range of all the rows to define Name
Create Names from Selection Top Row
Use Indirect() in Data Validation for Dependent List
Data Validation
Circle Invalid Data
55 46 64 56 68 49
8 71 95 83 14 6
27 64 99 44 39 17
77 66 74 95 71 70
Apply Data Validation and then apply
Circle invalid data on the same set of
data
Home-Find & Select - Data Validation
To know the range covered for Data Valid
Custom Data Validation
Enter Name in Upper Case Only Using EXACT() - this is case sensitive
MANOJ manoj
MANOJ
manoj
1
Step-03 Step-01
Enter Unique Values Only Using COUNTIF()
1 1
2 1
Step-01
Mobile - Numeric and length 10 ISNUMBER()
1234567890 1
gggg Step-03
hhh 1
0
Steps-01,02,03
Appointment Date (Mon-Friday Only) WEEKDAY()
7/7/2023 5
7/8/2023 5
7/9/2023 1
7/10/2023
Steps-01,02,03,04
Valid Email-id is having @ . MATCH()
[email protected] 1
1
1
1
Step-01,02,03,04,05
Valid PAN Card Steps
ABCPC3969N 10
ABCPC
3969
N
1
EXACT() - this is case sensitive
MANOJ 0
MANOJ 1
MANOJ 1
=EXACT(UPPER(C4),C4)
Step-02
For validation you need TRUE/FALS Formula
1 =COUNTIF($C$11:$C$14,C11)
1 =COUNTIF($C$11:$C$14,C11)=1
Step-02
Length Formula
10 =ISNUMBER(C18)
03 =LEN(C18)
1 =AND(ISNUMBER(C18),LEN(C18)=10)
0 =AND(ISNUMBER(C19),LEN(C19)=10)
01,02,03
Text(value,Format_text) Formula
Friday =WEEKDAY(C25,2)
Friday =WEEKDAY(C25,2)
Friday =WEEKDAY(C25,2)<=5
=TEXT(C25,"dddd")
01,02,03,04
Finally we want in TRUE/FALSE
=MATCH("*@*",C32,0) minimum 1 @sign
=MATCH("*.?*",C32,0) minimum 1 .sign
=MATCH("*@*.?*",C32,0)
=ISNUMBER(MATCH("*@*.?*",C32,0))
01,02,03,04,05
Formula
=LEN(C39) ABCPC
=LEFT(C39,5) #DIV/0!
=MID(C39,6,4) 3969
=RIGHT(C39,1) 3969
=AND(LEN(C39)=10,ISTEXT(LEFT(C39,5)),ISNUMBER(VALUE(MID(C39,
6,4))),ISTEXT(RIGHT(C39,1)))
You should know
=EXACT(E4,F4) UPPER()
=EXACT(E5,F5) LOWER()
=EXACT(UPPER(E6),F PROPER()
EXACT()
EN(C18)=10)
EN(C19)=10)