Find duplicate in row based on cell value.

bicSkylighter

New Member
Joined
Oct 15, 2019
Messages
2
I'm looking to highlight/identify duplicates in a row based on a common title (same) and am not sure of the direction to proceed.

Simple example:

There are two helpdesk title's and both are part of similar groups. I would like to identify all groups that "helpdesk" have in common. Then continue with each same title to find to find duplicates.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Title[/TD]
[TD="align: center"]Group1[/TD]
[TD="align: center"]Group2[/TD]
[TD="align: center"]Group3[/TD]
[TD="align: center"]Group4[/TD]
[TD="align: center"]Group5[/TD]
[TD="align: center"]Group6[/TD]
[/TR]
[TR]
[TD]Helpdesk[/TD]
[TD]Help[/TD]
[TD]Support[/TD]
[TD]email[/TD]
[TD]test[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Helpdesk[/TD]
[TD]Help[/TD]
[TD]Support[/TD]
[TD]email[/TD]
[TD]website[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Desktop[/TD]
[TD]Help[/TD]
[TD]Desktop[/TD]
[TD]support[/TD]
[TD]website[/TD]
[TD]server[/TD]
[TD]test[/TD]
[/TR]
[TR]
[TD]Manager[/TD]
[TD]Desktop[/TD]
[TD]support[/TD]
[TD]website[/TD]
[TD]server[/TD]
[TD]manager[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Manager[/TD]
[TD]Help[/TD]
[TD]support[/TD]
[TD]email[/TD]
[TD]manager[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I would be doing this for around 150 "title's" and couple hundred of groups.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Welcome to the MrExcel forum!

Assuming your range starts in cell A1 (the word "Title"), try this:

Select columns B:G. Click Conditional Formatting > New Rule > Use a formula > and enter:

=AND(SUMPRODUCT(($B$1:$G$10=B1)*($A$1:$A$10=$A1))>1,B1<>"")

Click Format... and choose a fill color. You'll need to change the ranges to match your sheet. I used columns B:G and rows 1:10, but change those to fit the range you're using.
 
Upvote 0
Thanks for the welcome Eric and thank you more for nailing the answer so quickly. Your solution worked perfectly.

Thank you!
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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