Changing zip code format

Shearman

New Member
Joined
Oct 10, 2006
Messages
19
I have about 4,000 rows of information and one of the columns is for a client's zip code. The current format is *****-****, and I need to change them all to read only the first 5 digits. Is there a way to do this with existing information, or do I need to go into each cell and manually delete the last 4 digits?

I know I can remove the - by using control-H, but I'm stuck on removing the last 4 digits. I tried Validation to fomat the cells to only accept whole numbers from 00000 to 99999, but that did not change anything. Hopefully someone will have some good news for me. :rolleyes:

Thanks!!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Thanks for the formula.., I learned something new. However, I need the spreadsheet in a particular format (It's for loading information into a Dialer), so if I do that for the entire column, I cannot then remove the column with the incorrect zip code format since the formula is referencing those cells.
 
Upvote 0
copy the collumn with the formulas, paste special / values to the collumn you want the new zip code to be in.
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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
Back
Top