Apply Conditional Formatting to Duplicates: More than one condition

pto160

Active Member
Joined
Feb 1, 2009
Messages
482
Office Version
  1. 365
Platform
  1. Windows
I have a bank report where I am trying to highlight the duplicates. The highlight duplicates only works for one condition under conditional formatting. How do I get it to work for more than one condition?
In my example, I want to highlight duplicates that are duplicates in the Type column and Order column. For my example, type Sale and order 100 occurs twice and I want to highlight that.

Book1
ABCDE
1Transaction IDTypeDescrptionOrder IDOrder
21saleDogAA1100
32creditDogBA2100
43saleDogCA3100
Sheet1
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try this

23 09 08.xlsm
ABCDE
1Transaction IDTypeDescrptionOrder IDOrder
21saleDogAA1100
32creditDogBA2100
43saleDogCA3100
CF Dupes
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:E4Expression=COUNTIFS($B$2:$B$4,$B2,$E$2:$E$4,$E2)>1textNO
 
Upvote 0
Absolutely brilliant. Thank you so much. :) (y) This will really help me identify duplicates and make corrections.
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,177
Members
452,615
Latest member
bogeys2birdies

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