Parsing Rule Needed

meppwc

Well-known Member
Joined
May 16, 2003
Messages
604
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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
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,215,327
Messages
6,124,281
Members
449,149
Latest member
mwdbActuary

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