VBA for Duplicates Across 13 Columns

mrsbrannon

Board Regular
Joined
Mar 7, 2018
Messages
61
Hello everyone,

I am trying to get a VBA code that will highlight duplicates found across 13 columns of data, possibly 100+ rows of data. So I'm looking for duplicated rows across those 13 columns. See below:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]DOB[/TD]
[TD]Address[/TD]
[TD]Phone[/TD]
[TD]Etc[/TD]
[TD]Etc[/TD]
[TD]Etc[/TD]
[TD]Etc[/TD]
[TD]Etc[/TD]
[TD]Etc[/TD]
[TD]Etc[/TD]
[TD]Etc[/TD]
[TD]Etc[/TD]
[/TR]
[TR]
[TD]John Brown[/TD]
[TD]1/1/1992[/TD]
[TD]123 main[/TD]
[TD]1234[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]John Brown[/TD]
[TD]1/1/1992[/TD]
[TD]123 main[/TD]
[TD]1234[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Please note that my data for checking starts in column C, not A. So it's Columns C thru O.

Thank you!:):)
 
Last edited:

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
That might make it harder :(
How are you doing the copy/paste? By hand or by macro?
 
Upvote 0
By hand :( It's not a HUGE deal. If we have to run the Macro, so be it. It would just be a nice feature.
The best option, would probably be to start a new thread explaining what you are doing re the copy/paste from other sheets.
Then, if that is sorted, you can simply call this macro at the end. That way the whole process will be automated.
 
Upvote 0
Okay. I'm always up for automation. The data is coming from outside sources though, via a new worksheet daily, so I'm not sure if that could be automated, but if so that would be great.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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