Conditional Formatting to compare 2 columns, and identify future repeats

skittlz

New Member
Joined
Oct 26, 2012
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Hi, I have 2 columns - Column A has Equipment Names, and Column B has equipment number (each equipment name serialized - 1, 2, 3, 4, and so on). I need to conditionally format the 2 columns so that if there are duplicates of the SN for a given Equipment Name, it would flag it as red.

For example, this is ok:

1731420051847.png


This is not ok:

1731420142863.png


How can I do that? Please help!

There are thousands of entries in random order, so hopefully conditional formatting can manage that without slowing down!

Thank you!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Select B2 down & use this formula
Excel Formula:
=COUNTIFS(A:A,A2,B:B,B2)>1
 
Upvote 0
Hi, I have 2 columns - Column A has Equipment Names, and Column B has equipment number (each equipment name serialized - 1, 2, 3, 4, and so on). I need to conditionally format the 2 columns so that if there are duplicates of the SN for a given Equipment Name, it would flag it as red.

For example, this is ok:

View attachment 119182

This is not ok:

View attachment 119183

How can I do that? Please help!

There are thousands of entries in random order, so hopefully conditional formatting can manage that without slowing down!

Thank you!
This from Leila Gharani will help you. You have a number of options.

Excel Find and Highlight Duplicates
 
Upvote 0

Forum statistics

Threads
1,226,735
Messages
6,192,733
Members
453,752
Latest member
Austin2222

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