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

[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl64, width: 64"]Column A[/TD]
[TD="class: xl64, width: 64"]Column B[/TD]
[TD="class: xl64, width: 64"]Column C[/TD]
[/TR]
[TR]
[TD="class: xl63"]12345[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"]X[/TD]
[/TR]
[TR]
[TD="class: xl63"]12345[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl63"]12345[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl63"]12345[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl63"]6789[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl63"]6789[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl63"]6789[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"]x[/TD]
[/TR]
[TR]
[TD="class: xl63"]12347[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"]x[/TD]
[/TR]
[TR]
[TD="class: xl63"]88888[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl63"]88888[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl63"]88888[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"]x[/TD]
[/TR]
[TR]
[TD="class: xl63"]88888[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl63"]88888[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl63"]88888[/TD]
[TD="class: xl63"]abc[/TD]
[TD="class: xl63"] [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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