Put CSV Zip Codes into Zip Code Ranges

84thsav

New Member
Joined
Aug 24, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
  2. Web
I have a list of about ~13,000 zipcodes in csv format (15002,15003,15004,15005,15006,15007,15009,15010) that i need to put into zip ranges (15002-15007,15009-15010)

I realize i can do this manually but that takes a lot of time and i mean who wants to do that! I cant figure out a method or a formula for this one.

Id appreciate any feedback Thank you


A1A2A3A4A5
1500215003150041500515006

Would turn into the below format

A1A2A3A4A5
1500215003-1500615007
 
@84thsav
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!


If you have posted the question at more places than mentioned in post #4 above, please provide links to those as well.
 
Upvote 0

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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