L
Lostguy
Hello!
I am trying to find a good formula that will validate zip codes, but
isnumber(), len(), etc. are not working for me.
Here are my testers:
00501
12h78
h1234
1234h
12345
It needs to allow only digits, including possible leading zeroes like
the first example. It can't allow letters in any of the positions.
If there is already a formula that validates 5 and 9 digit zip codes,
that would be ideal, so that the user could put the zip in as "xxxxx"
or "xxxxx-xxxx".
Oh, and it can't be VBA.
I appreciate the help!
VR/
Lost
I am trying to find a good formula that will validate zip codes, but
isnumber(), len(), etc. are not working for me.
Here are my testers:
00501
12h78
h1234
1234h
12345
It needs to allow only digits, including possible leading zeroes like
the first example. It can't allow letters in any of the positions.
If there is already a formula that validates 5 and 9 digit zip codes,
that would be ideal, so that the user could put the zip in as "xxxxx"
or "xxxxx-xxxx".
Oh, and it can't be VBA.
I appreciate the help!
VR/
Lost