Highlight Approximate Match in a column (Not exact Match)

ialwayscapital

New Member
Joined
Aug 18, 2009
Messages
18
Guys I am stuck again !

I have a list of names in column A. I want to highlight the names if it matches 70%

For example :

1. Ram Kumar
2. Rama Kumar
3. Akash Tripathi
4. Aakash Tripathi
5. Mr. Ram Kumar
6. Akash M Tripathi
7. Ram Kumar

Excel conditional formatting finds Row 1 & 7 as exact match, but it can't help with others. Where as Row 1,2,5 & 7 are actually same person. I need formula for Conditional Formatting.

Somehow, I found one formula but its not working in my case.

=IF(A1<>"",COUNTIF($A$1:$A$23,"*"&MID(A1,1,INT(LEN(A1)*0.7))&"*")>1)

Excel Fuzzy Lookup thing is not for me, Because I want conditional formatting formula, which can highlight cell instantly after entering data. This sheet gets regular entries from various persons.

Thanks.
 
Last edited:

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Just to add to my question, I managed to add one helper column (column B), where i put the formula

=Clean(Trim(Proper(A1)))

So now, all the entries has no extra spaces or special characters. "SPACE" can be the middle point for the formula to look for left & right and do the job. Additionally there can be more than one SPACE. i.e Akash M Tripathi
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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