CPGDeveloper
Board Regular
- Joined
- Oct 8, 2008
- Messages
- 190
I can't seem to figure this out -- any help would be greatly appreciated.
I'm trying to validate a column in my excel workbook with the following criteria:
Length of 9 characters
Each character must be a number
The first character may be '0'.
The field itself should remain a text field.
So both 012345678 And 123456789 would be valid.
I have the following custom data validation formula:
=AND(ISNUMBER(B3), LEN(B3)=9)
But of course, this would eliminate '012345678', considering it 8 characters, not 9.
Any ideas? Thanks.
I'm trying to validate a column in my excel workbook with the following criteria:
Length of 9 characters
Each character must be a number
The first character may be '0'.
The field itself should remain a text field.
So both 012345678 And 123456789 would be valid.
I have the following custom data validation formula:
=AND(ISNUMBER(B3), LEN(B3)=9)
But of course, this would eliminate '012345678', considering it 8 characters, not 9.
Any ideas? Thanks.