Conditional Formatting with two values

DenialDan

New Member
Joined
May 31, 2017
Messages
15
123456
Murdock
123555
Murdock
123456
Murdock

<tbody>
</tbody>

I'm trying to get the first and the third rows to get filled in a Color since both the ID and the Name are the same value. The second row should not be filled.
Any ideas?
 

Some videos you may like

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,261
Use COUNTIFS or SUMPRODUCT

=COUNTIFS($A$1:$A$10,$A1,$B$1:$B$10,$B1)>1

=SUMPRODUCT(($A$1:$A$10=$A1)*($B$1:$B$10=$B1))>1
 

Watch MrExcel Video

Forum statistics

Threads
1,095,352
Messages
5,443,959
Members
405,257
Latest member
daveyf

This Week's Hot Topics

Top