Split Address with different delimiters into Different columns

Shreesurya

Board Regular
Joined
Jul 7, 2014
Messages
50
Hi Pros,

I have been trying to split address from a cell to multiple columns. but I have to create a step every time I have to split which has different delimiter.

However I would want this to be one step where it identifies different delimiter and split it accordingly to multiple columns.

Input:
17175 Misty Lake Dr
Strongsville, OH 44136

I split this by first using Linefeed and then split by ", " and then with Space. (This actually create 3 steps in Power Query)

Delimiter 1 = Linefeed
Delimiter 2 = ", "
Delimiter 3 = Space

I just want to split everything in one step.

Please help me.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
What should be the output from this example?
Can you tell us what you expect in which column as result?
 
Upvote 0
What should be the output from this example?
Can you tell us what you expect in which column as result?

Thanks for the response, Below is the example of what I am trying to achieve.

First Column is input and I am trying to split it into 4 different columns.

InputAddressCityStateZip
17175 Misty Lake Dr
Strongsville, OH 44136
17175 Misty Lake Dr
StrongsvilleOH44136
 
Upvote 0
Do you want VBA code or formulas? I prefer code.
 
Upvote 0
Sorry, but I can't be helpful about Power Query.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

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