May 25 2021 02:17 PM
I'm working with a large data set at work and am looking for a shortcut in Excel to identify when there are duplicates in a range based on different values in two columns. Each column will already have duplicates, but I need to know when they both are duplicates (when A1 = YES/C1 = 5 and A25 = YES/C25 = 5, not when A1 = YES/C1 = YES). Is this possible to do in Excel using a formula?
May 25 2021 02:33 PM
SolutionMay 25 2021 02:33 PM
Select (for example) columns A to C. A1 should be the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format',
Enter the formila
=COUNTIFS($A:$A,$A1,$C:$C,$C1)>1
Click Format...
Activate the Fill tab.
Select a highlight color.
Click OK,then click OK again.
May 25 2021 02:55 PM
May 25 2021 02:33 PM
Solution