Parsing Rule Needed

meppwc

Well-known Member
Joined
May 16, 2003
Messages
626
Office Version
  1. 365
Platform
  1. Windows
I am trying to come up with a parsing rule to be used on 400+ cells.
An example is the combined address is 11160 VILLAGE NORTH DR, TRC: 08/19/2009, ST LOUIS, MO 63136-6159
I need the data parted into
B1 = 11160 VILLAGE NORTH DR
C1 = ST LOUIS
D1 = MO
E1 = 63136-6159
"TRC: 08/19/2009" is completely omitted.
Also there is no comma between the city and state which makes things even more difficult.
And the address city's and states can vary.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Uh, your example shows a comma between the city and state???
An example is the combined address is 11160 VILLAGE NORTH DR, TRC: 08/19/2009, ST LOUIS, MO 63136-6159

Also there is no comma between the city and state which makes things even more difficult.
Uh, your example shows a comma between the city and state???
 
Upvote 0
Thats part of the problem also, sometimes the comma exists and sometimes it does not...............I guess I could add the commas needed between city and state. That should make things easier
 
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

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