Try this...I should know how to do this...
I need to use data validation to restrict entries into a cell to a 10 digit number starting with 6211. eg 6211000000
Please end my frustration and remind me how to do it!
Thanks
Ooops! TypoTry this...
Data Validation
Allow>Custom
Formula:
=AND(LEN(A1=10),--LEFT(A1,4)=6211,ISNUMBER(-MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))
If you try that formula on the worksheet it must be array entered**.
** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER.