Duplicate Rows

stylencia18

New Member
Joined
Aug 14, 2017
Messages
31
Good afternoon:

I have 10,000 rows of data and I want to search for duplicate rows but I don't know how to. I do NOT want to delete duplicates, just highlight them.

Sample spreadsheet:



[TABLE="width: 1"]
<tbody>[TR]
[TD="width: 777, bgcolor: transparent"]
[TABLE="width: 581"]
<tbody>[TR]
[TD="width: 83, bgcolor: transparent"]Date
[/TD]
[TD="width: 105, bgcolor: transparent"]Claim Number
[/TD]
[TD="width: 94, bgcolor: transparent"]Patient Name
[/TD]
[TD="width: 91, bgcolor: transparent"]Code
[/TD]
[TD="width: 121, bgcolor: transparent"]Patient ID Number
[/TD]
[TD="width: 124, bgcolor: transparent"]Date Bill Submitted
[/TD]
[TD="width: 82, bgcolor: transparent"]Amount Billed
[/TD]
[TD="width: 74, bgcolor: transparent"]Amount Paid
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]10/1/2014
[/TD]
[TD="bgcolor: transparent"]156161

[/TD]
[TD="bgcolor: transparent"]John Doe
[/TD]
[TD="bgcolor: transparent"]99213
[/TD]
[TD="bgcolor: transparent"]A615651
[/TD]
[TD="bgcolor: transparent"]10/5/2014
[/TD]
[TD="bgcolor: transparent"]$700.00
[/TD]
[TD="bgcolor: transparent"]$500.00
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]10/8/2015
[/TD]
[TD="bgcolor: transparent"]165511
[/TD]
[TD="bgcolor: transparent"]Sam Jones
[/TD]
[TD="bgcolor: transparent"]99214
[/TD]
[TD="bgcolor: transparent"]B625663
[/TD]
[TD="bgcolor: transparent"]10/15/2015
[/TD]
[TD="bgcolor: transparent"]$800.00
[/TD]
[TD="bgcolor: transparent"]$200.00
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]10/1/2014
[/TD]
[TD="bgcolor: transparent"]156161
[/TD]
[TD="bgcolor: transparent"]John Doe
[/TD]
[TD="bgcolor: transparent"]99213
[/TD]
[TD="bgcolor: transparent"]A615651
[/TD]
[TD="bgcolor: transparent"]10/5/2014
[/TD]
[TD="bgcolor: transparent"]$700.00
[/TD]
[TD="bgcolor: transparent"]$500.00
[/TD]
[/TR]
</tbody>[/TABLE]

We can easily see that the 1stand 3rd rows are duplicates. How do I find duplicates in 10,000 rows of data?

In order to be a duplicate, the following column names must match exactly: Date; Code; Patient ID Number


Thank you!!!
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
You Can use Conditional Formatting to find duplicate values.

Go to Home-->Conditional Formatting-->Highlight Cell Rules-->Duplicate Values
 
Upvote 0
Not a whizz with VBA so there will no doubt be a better solution other than formula.
My quick workaround (since its based on 3 columns) assuming your table starts in cell A1; would be introduce a new column and use the formula in cell H2

=CONCATENATE(A2,D2,E2)

Then paste it down, and use what was suggested by ganeshpoojary05, you can also then filter by colours or even remove duplicates based on cell column H.

Again, there will be a much quicker way that the VBA gurus will know.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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