Converting 9 digit zip codes to 5 digit

superjr24

New Member
Joined
Sep 14, 2006
Messages
6
Please help!

I have a 7000 line file of 9 digit zip codes that needs to be converted to 5 digit zip codes. Anyone have an easy formula(I am not an excel whiz) so if it can be spelled out please:) that would do this? I am gathering that the formatting cells isnt working because you cant change the cell data. Someone told me about a VLookup functionality for this but I can't seem to get the formula right.

Any help would be most appreciated.

Thanks
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
Hi, superjr24
Welcome to the Board !!!!!

first thing to do: post sample data + expected results
have a look in the helpfiles for RIGHT, LEFT, MID (perhaps FIND, SEARCH)

kind regards,
Erik
 

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi superjr24
Welcome to the board

What is your country? As you know Zip codes are country specific.

Please explain what are the 9 digit zip codes, the 5 digit zip codes and how they are converted one into the other.

Kind regards
PGC
 

Forum statistics

Threads
1,136,926
Messages
5,678,605
Members
419,775
Latest member
joh93

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top