Find and Highlight Partial Matches in ONE COLUMN

samyscraps01

Board Regular
Joined
Jul 6, 2017
Messages
58
Hi,

I have a list of people in Column (A) followed by their home addresses in column (B). I would like to find a formula that will look at ONLY column B and highlight any cells that contain partial matches of home addresses to another cell in the same column B. I only find formulas that work if you already know the name of the match you are looking for. I am looking to find employees with the same home address. If I can find a formula that will highlight partial matches, I can filter by color and look at these individually to see if the partial matches are really full matches but only different over something insignificant like one says 100 Web Way versus 100 Web Wy. Etc.

Please help.

Thanks.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
@samyscraps01
Try this.
C1 has the search text.
B$2:B$15 is the search Range where you have the Addresses.
In C2 type the following formula and press Ctrl + Shift + Enter.
Copy C2 and paste from C3 to C15.
You will have the list of partial matches displayed beginning from C2 .
=IF($C$1="","",IFERROR(INDEX(B$2:B$15,SMALL(IF(ISNUMBER(SEARCH($C$1,B$2:B$15)),ROW(B$2:B$15)-ROW(B$2)+1),ROWS(B$2:B2))),""))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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