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

lager1001

Board Regular
Joined
May 17, 2019
Messages
88
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>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Assuming your data starts in A2, how about
=IF(COUNTIFS($A$2:$A2,A2,$B$2:$B2,"<>")=1,"x","")
 
Upvote 0

Forum statistics

Threads
1,213,585
Messages
6,114,514
Members
448,575
Latest member
hycrow

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