Matching Addresses

Justinian

Well-known Member
Joined
Aug 9, 2009
Messages
1,557
Office Version
  1. 365
Platform
  1. Windows
I have a list of over four thousand addresses on one tab. On a second tab, I have about one thousand addresses. I need a formula that matches addresses and highlights them yellow. So if I have 123 Fake Street in cell A32 and 345 Boot Avenue in cell A33 on tab one and on tab two is only 123 Fake Street, I need 123 Fake Street to be highlighted yellow while 345 Boot Avenue stays as is. Would this be the match function? If so, how do I assemble it to scan through 4,000 addresses to find matches?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
You should be able to do this with Conditional Formatting and a countif function as the condition.
 
Upvote 0
Not if there are no exact matches. For example, what if tab one says 123 Fake Street while tab two says 123 Fake St.?
 
Upvote 0
No, that is not working. That does not help me with matching 123 Fake Street to 123 Fake St. #A.
 
Upvote 0
With 123 Fake St in A1 and 123 Fake St. in B1 the following formula in C1 trims the full stop, compares the 2 strings and says they are the same
=A1=LEFT(B1,LEN(B1)-1)
If the differences are always of that sort you could incorporate it in the conditional formula.
If the differences occur in different positions I don't see how you can do it. You mentioned MATCH in your OP - this only works on numeric values. If the strings you are comparing are only superficially similar you will have to manipulate them in some way so you are comparing like with like.
 
Upvote 0
That is not what I mean. 123 Fake Street is not the same as 123 Fake St. #A.
 
Upvote 0
If tab 1 says 123 Fake Street and tab 2 says 123 Fake St. you could try the Fuzzy Lookup Add-In for Excel which performs fuzzy matching of textual data in Excel.
Download Fuzzy Lookup Add-In for Excel from Official Microsoft Download Center
Also, try Googling "probabilistic matching in excel"
Alternatively you could use a sequence of Find and Replace operations to eliminate the differences between the entries in the two tabs For example Find St. and Replace with Street, Find the comma character and leave Replace blank to get rid of commas, repeat for full stops, question marks etc. That way you'll get rid of the differences between the way the two sets of data have been entered. Spell checking will help as well.
 
Upvote 0

Forum statistics

Threads
1,221,292
Messages
6,159,075
Members
451,534
Latest member
zooster

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