Conditional Formatting (or an If Then statement?), Highlighting cells based on varying data

Tycoons

New Member
Joined
Feb 17, 2017
Messages
7
I have one column of names that is fixed, and a list of names that I get on a weekly basis. For example:

Varying Names Fixed Names
Brandon Steve
Lucas Drew
Andrew Jordan
Jake Blair
Blair
Chris
Kenneth

Ideally, I can just paste my list of "Varying Names" beside my "Fixed Names" list, and any names in the "Fixed Names" column that match those in the "Varying Names" column will be highlighted. In this example, the cell with the name Blair under the Fixed Names column would be be highlighted with a color of my choosing.

Can this be done?

Thanks in advance for your help, much appreciated.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Sorry.. formatting issue.

Varying NamesFixed Names
AndrewBrandon
JakeLucas
BlairBlair
ChrisSteve
KennethDrew

<colgroup><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Hi,

You need to do the following.

1. Select both the columns.
2. Go to condional formatting
3. Highlight cell rules
4. Duplicate Values
5. Duplicate Value window will open, choose Duplicate in first box and then choose your desire color to highlight duplicate values.
6. Press "OK".

That's it. It will show all the duplicate values with your choosen color.
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,039
Members
448,940
Latest member
mdusw

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