Postal Code Fixer

You might encounter problems with US Postal Codes when entered into Excel. The standard format is 5 digits XXXXX. Being such, there areas that starts with Zero, 0XXXX. The same goes with the additional 4 digits, XXXX-NNNN. NNNN could take in Zero as the first digit, 0NNN.

This issue could lead to a Postal Code of only four digits and the extension with only three digits.



=IF(Len(J2)=4, “0”&IF(LEN(K2)=3,J2&”-0″&K2,J2&”-“&K2), IF(LEN(K2)=3,J2&”-0″&K2,J2&”-“&K2))

Then format the column as text.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: