Indicate First Duplicate Value in a Column when a condition exists in another column

lager1001

New Member
Joined
May 17, 2019
Messages
44
I need to indicate in the rows of column C where the the first duplicate value of Column A is when Column B is not blank. Any ideas?

See below example

Column AColumn BColumn C
12345abcX
12345abc
12345abc
12345abc
6789
6789
6789abcx
12347abcx
88888
88888
88888abcx
88888abc
88888abc
88888abc

<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Some videos you may like

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.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
40,855
Office Version
365
Platform
Windows
Assuming your data starts in A2, how about
=IF(COUNTIFS($A$2:$A2,A2,$B$2:$B2,"<>")=1,"x","")
 

Watch MrExcel Video

Forum statistics

Threads
1,099,388
Messages
5,468,308
Members
406,579
Latest member
lollypop1389

This Week's Hot Topics

Top