Extract multiple uppercase text from within a string

whicks64

New Member
Joined
Mar 29, 2011
Messages
2
Hi,

I have list of addresses that have address and suburb combined into one cell. The suburbs are all uppercase and I'm trying to find a formula to extract these to another cell.

Examples (located in column B of my spreadsheet)
Cnr Hollywood Drive and Wharf Road LANSVALE
Cnr Hamilton Drive & Tongarra Road ALBION PARK
2A Hillcrest Avenue BARDWELL VALLEY

I can use the following array formula found in another forum to extract suburbs with a single name but can't get the suburbs that consist of two names

=RIGHT(B2,MATCH(" ",MID(B2,LEN(B2)-ROW(INDIRECT("1:"&LEN(B2))),1),0))

any assistance appreciated
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
=RIGHT(B2,MATCH(0,--EXACT(UPPER(MID(B2,LEN(B2)-ROW(INDIRECT("1:"&LEN(B2))),1)),MID(B2,LEN(B2)-ROW(INDIRECT("1:"&LEN(B2))),1)),0)-1)
Ctrl+Shift+Enter
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,898
Members
452,948
Latest member
Dupuhini

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