2 row address in 1 cell, how to seperate to 2 cells?

nzt101

New Member
Joined
Sep 20, 2022
Messages
30
Office Version
  1. 365
  2. 2021
  3. 2007
Platform
  1. Windows
Hey guys,
my workbook has addresses in one cell, when you click on the pulldown arrow in the text input, it shows it as two lines,
street number street name
suburb, state, post code

I'm trying to make it seperate to two cells so it displays properly in a workbook, at the moment if i reference Cell R1, it shows the address all in one row and bunched up,
for instance
18 StreetnameSTSuburbname,STATE,POSTCODE (no spaces between comma and state/postcode)

whereas ideally i could get it to be like this
18 Streetname ST
Suburb, STATE, POSTCODE

i usually search the forum and google before asking but haven't found an answer to this one yet,
appreciate any help :)
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Have you explored looking for a zero length text string between the road type and suburb? A carriage return or line feed could do that. If Your address is in cell B2, then do this formula to get the character code:
=CODE(MID(A1,FIND("ST",A1,1)+2,1)), Cap letters are 65-90, Lower case are 97-122.
You can see all the characters in an array by doing Char(SEQUENCE(255,1,1,1)) in O365.
You can split the cell based on the code value in your formula, if it is a 10.. the the delimitter would be char(10).
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,191
Members
453,021
Latest member
pingpong7117

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