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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
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,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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