Highlight rows where certain duplicate criteria is not met

joeyb

New Member
Joined
Jan 9, 2017
Messages
2
I need some help locating lines in a daily sales report where two sales associates have contributed to the same sale. This is apparent if two different sales associates appear against one transaction, with the same product ID.

See example below, Unique Transaction ID 2 is exhibiting the scenario I am trying to identify and highlight somehow:

[TABLE="width: 897"]
<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Unique Transaction ID[/TD]
[TD]Sales Associate ID[/TD]
[TD]Product ID[/TD]
[/TR]
[TR]
[TD]18/10/17[/TD]
[TD]1[/TD]
[TD]111[/TD]
[TD]ItemA[/TD]
[/TR]
[TR]
[TD]18/10/17[/TD]
[TD]1[/TD]
[TD]111[/TD]
[TD]ItemB[/TD]
[/TR]
[TR]
[TD]18/10/17[/TD]
[TD]2[/TD]
[TD]111[/TD]
[TD]ItemC[/TD]
[/TR]
[TR]
[TD]18/10/17[/TD]
[TD]2[/TD]
[TD]222[/TD]
[TD]ItemC[/TD]
[/TR]
[TR]
[TD]18/10/17[/TD]
[TD]3[/TD]
[TD]111[/TD]
[TD]ItemC[/TD]
[/TR]
[TR]
[TD]18/10/17[/TD]
[TD]4[/TD]
[TD]222[/TD]
[TD]ItemA[/TD]
[/TR]
</tbody>[/TABLE]


Is there a formula I can use to highlight all transactions that meet this criteria?


Thanks in advance![/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I'm thinking perhaps I didn't select the best title for the post.

Having slept on it I think what I am trying to do is highlight cells where an expected duplicate is not present. For every duplicate transaction ID row there should be a corresponding duplicate Sales Associate ID. If that is not true, highlight the cell / row.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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