locate second space in a text string

tersus

New Member
Joined
May 23, 2011
Messages
3
Hi

I have an address field and i need to split into 2 columns, but i need to do this at the 2nd space i.e.

flat 21 the avenue

i need column A= flat 21 and column B= the avenue

has anyone got a formula that will do this (no macros please i am not that clever:))
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Welcome to the MrExcel board!

Another option for cell B1 with VoG's layout is ..
=LEFT(A1,FIND(" ",A1,FIND(" ",A1)+1)-1)
.. but I'd have to say you will be luckier that most if all your addresses are as uniform in structure as that. :eek:
 
Upvote 0
Hi

thank you, and no my address list is not that simple, and your help will be part of a much larger field mapping issue i have to get my head around, this was just the first hurdle, thanks again
 
Upvote 0
Hi Vog Sir and Peter Ss..

Thanks for posting this. This helped me a lot..formula. Absolutely great.


Welcome to the MrExcel board!

Another option for cell B1 with VoG's layout is ..
=LEFT(A1,FIND(" ",A1,FIND(" ",A1)+1)-1)
.. but I'd have to say you will be luckier that most if all your addresses are as uniform in structure as that. :eek:
 
Upvote 0

Forum statistics

Threads
1,215,568
Messages
6,125,599
Members
449,238
Latest member
wcbyers

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