Zip code: eliminating the last 4 digits

polska2180

Active Member
Joined
Oct 1, 2004
Messages
384
Office Version
  1. 365
Okay when I run a report from my system I get zip codes that are as fallows

65014
65184
35489
648799648
65489
634558987
61354

Anywasy some of the have the 4 digits at the end that give me problems. Is there a way that i could quickly get rid of the 4 digits at the end and keep the original 5 so that all would read.

65014
65184
35489
64879
65489
63455
61354
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
that will not help as i need to import data to another program and it reads it as 9 digits and wants 5
 
Upvote 0
I'll try again... here's the Before and After using Text to Columns...
Book2
ABCDEFG
1BEFOREAFTER
26501465014
36518465184
43548935489
564879964864879
66548965489
763455898763455
86135461354
9
10
Sheet2
 
Upvote 0
See the Data | Text to Columns... menu command. It invokes a wizard... follow the steps. Make sure that you apply the "Skip" format to the 2nd column (containing the last 4 digits).
 
Upvote 0
okay i have never used this function in excel and i do not know what im doing. I do not know what options I have to choose it takes me through 3 steps.

Thanks for the help again.
 
Upvote 0
Specify Fixed width at Step 1 (see my first post)
Insert a column break between characters 5 and 6 at Step 2
Format the 1st column as Text and the 2nd as Skip
 
Upvote 0

Forum statistics

Threads
1,223,647
Messages
6,173,538
Members
452,520
Latest member
Pingaware

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