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.

Solution:

=IF(LEN(I2)=3,H2&”-0″&I2,H2&”-“&I2)

=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.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: