Splitting addresses into four columns (in bulk)

JodiOc

New Member
Joined
Sep 16, 2014
Messages
7
Address
STREEET ADRESS 1
TOWN
STATE
POSTCODE
19 Stanley Street
WODONGA VIC 3690
1 ABC Street
ALBURY NSW 2640

<tbody>
</tbody>

Hi All

Have massive challenge & have researched, but to no avail..

The addresses are in the above format. I can separated them manually one by one, but not in bulk.

Any help would be greatly appreciated
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Is
19 Stanley Street
WODONGA VIC 3690
in one cell sperated by ALT + Enter ??
 
Upvote 0
It is exported from another database program. I am unable to change this format in the original program.
 
Upvote 0
Try this


Excel 2010
ABCDE
119 Stanley Street WODONGA VIC 369019 Stanley StreetWODONGAVIC3690
Sheet2
Cell Formulas
RangeFormula
B1=LEFT(A1,FIND(CHAR(10),A1,1)-1)
C1=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,B1,""),D1,""),E1,""),CHAR(10),"")
D1=TRIM(LEFT(RIGHT(SUBSTITUTE(A1," ",REPT(" ",100)),200),100))
E1=RIGHT(A1,4)
 
Upvote 0
If you want a Text to Columns solution without formulas:

Select the cells to process, go to Edit/Replace and enter into the Find box 0010 from the numpad while you are holding down the Alt key (you will see a blinking point in the Find box, nothing else), then enter semicolon in the Replace box, and Replace All. Then go to Data/Text to Columns, choose Delimited, Next, semicolon as the Delimiter, and in the next window enter the next column as destination (if the data begin in A2, enter B2 here). Now the first line and the second line are separated. Now select the cells in column C and do another Tex to Columns with space as Delimiter (now uncheck semicolon as delimiter) and do not change the Destination offered by excel. You will get this:

*ABCDE
1*Street address 1TownStatePostcode
219 Stanley Street
WODONGA VIC 3690
19 Stanley StreetWODONGAVIC3690
31 ABC Street
ALBURY NSW 2640
1 ABC StreetALBURYNSW2640

<colgroup><col style="width:30px; "><col style="width:253px;"><col style="width:143px;"><col style="width:93px;"><col style="width:84px;"><col style="width:104px;"></colgroup><tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0
Thanks Michael M

All formuls work except for the one in D1- nothing happens when I enter this formula. :)
 
Upvote 0
Check to make sure it's not a double space after VIC
Also consider the solution provided by Istvan in post #6
 
Upvote 0
Thanks Guys... most of what you recommend works. Unfortunately there are 3 spaces in between Wodonga VIC 3690, so still having some difficulty....
 
Upvote 0
3 spaces between Wodonga and VIC and 3690
OR
3 spaces in total isntead of 2 ??
 
Upvote 0

Forum statistics

Threads
1,222,032
Messages
6,163,509
Members
451,839
Latest member
HonestZed

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