Spltting address with a formila

stroffso

Board Regular
Joined
Jul 12, 2016
Messages
160
Office Version
  1. 365
Platform
  1. Windows
Hi,

I need to split some addresses with formulas and am not sure the right way of going about doing it.

I currently have two workbooks. One called Raw Data which has a series of columns and the other called master which looks up the raw tab.

On the raw tab there are 6 columns that are like so:


UVWXYZ
Site AddressStreetSuburbPostcodeStatePostal Address
14 Lesson Street Charnwood NSW 250114 Lesson StreetCharnwood2501NSW14 Lesson Street Charnwood NSW 2501
52 Mater Street, Collingwood VIC 306652 Mater StreetCollingwood3066VIC1 Jones Street, Melbourne VIC 3000

<tbody>
</tbody>

What i need is for the master tab to look these up in a certain way and return data to the cells marked X in the table below using the following rules:


1. If the postal address is the same as the site address then "" needs to be returned.
2. If the postal address is different then the address in Column Z above needs to be split across Columns O-R below

There are no commas separating the addresses so this where I have the problem really.





KLMNOPQR
StreetSuburbStatePostcodePostal StreetPostal SuburbPostal StatePostal post Code
='Raw'!V2='Raw'!W2='Raw'!Y2='Raw'!X2 XXXX

<tbody>
</tbody>


All help greatly appreciated
 
How would I go about adding some array goodness into the mix?

Code:
SEARCH("Street", blah blah)

Something like (?):

Code:
SEARCH({"Street", "Road", "Avenue", "Boulevard", "Lane", "Cresent"}, blah blah)

Thanks.
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
How would I go about adding some array goodness into the mix?

Code:
SEARCH("Street", blah blah)

Something like (?):

Code:
SEARCH({"Street", "Road", "Avenue", "Boulevard", "Lane", "Cresent"}, blah blah)

Thanks.

That awesome thank you!
 
Upvote 0
Wait, that array stuff actually works? My previous post was not a statement, rather it was a question.

Please advise.
 
Upvote 0
Wait, that array stuff actually works? My previous post was not a statement, rather it was a question.

Please advise.

Sorry I was referring to your earlier post detailing what was needed. thanks very much for your expertise and courtesy
 
Upvote 0

Forum statistics

Threads
1,214,780
Messages
6,121,527
Members
449,037
Latest member
tmmotairi

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