Highlight Duplicate Rows and Export to New Worksheet

alanaduffy

New Member
Joined
Sep 25, 2019
Messages
2
Hi all,

I am working with a large set of data (5000 rows and columns A:AP).

I am looking to find rows that are duplicate in their entirety, and then export them to a new sheet. So far I have used a formula to convert each row into a single string (=concat(A5:AP5), and from there I use conditional formatting to highlight duplicate values in the concatenated column, which shows me the rows that are duplicated. However, this only highlights the duplicated cells that contain the concat formula, and I need the highlight to extend across the entire row. In addition, I then need to export all duplicated rows to a new Excel sheet.

The ultimate goal is to be able to paste a new set of data into a sheet already containing data, then find and export rows that are duplicate between the new data set and what was already in the sheet. Does anyone know how to do this?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Welcome to the Board!

However, this only highlights the duplicated cells that contain the concat formula, and I need the highlight to extend across the entire row.
What column are you putting the CONCAT formula in?
What Conditional Formatting formula are you using to look for duplicates?

In addition, I then need to export all duplicated rows to a new Excel sheet
So, let's say a particular row is duplicated 3 times (so there are 4 copies of it).
Do you want to move all 4 rows, or keep one and move 3?
 
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,164
Members
452,615
Latest member
bogeys2birdies

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