deleting or hiding duplicates

Mike Luce

New Member
Joined
Sep 9, 2019
Messages
12
i don't know if this is even possible but if it is please tell how so i can save my self hours of work.

i have a spread sheet with 15000 plus entries that i was just ask to edit.
i need to remove/hide the duplicates based on the date in column A and the name in column C.

i the example below row 3 would be effected but not row 4 because of the date

[TABLE="width: 1219"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]
Date​
[/TD]
[TD]
Expected​
[/TD]
[TD]
Quote Name​
[/TD]
[TD]
Function Status​
[/TD]
[TD]
Property Name​
[/TD]
[/TR]
[TR]
[TD="align: right"]
1/11/2020​
[/TD]
[TD="align: right"]
11​
[/TD]
[TD]
2020 State Career​
[/TD]
[TD]
Definite​
[/TD]
[TD]
WKCCC​
[/TD]
[/TR]
[TR]
[TD="align: right"]
1/11/2020​
[/TD]
[TD="align: right"]
80​
[/TD]
[TD]
Electric Holiday Party​
[/TD]
[TD]
Definite​
[/TD]
[TD]
WKCCC​
[/TD]
[/TR]
[TR]
[TD="align: right"]
1/11/2020​
[/TD]
[TD="align: right"]
80​
[/TD]
[TD]
Electric Holiday Party​
[/TD]
[TD]
Definite​
[/TD]
[TD]
WKCCC​
[/TD]
[/TR]
[TR]
[TD="align: right"]
1/12/2020​
[/TD]
[TD="align: right"]
11​
[/TD]
[TD]
2020 State Career​
[/TD]
[TD]
Definite​
[/TD]
[TD]
WKCCC​
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I'm going to assume columns F & G are blank.
In F2 you can type

=concatenate(a2,c2)

In g2 you can type

=COUNTIFS(F$2:F2,F$2:F2)

Then you can drag those formulas down to the length of your data.
Then you can filter column G where it's greater than 1.
Then delete those rows.
 
Last edited:
Upvote 0
You could use conditional formatting & autofilters to hide the duplicate rows.
Select A2 to the last row in Col A > Conditional Formatting > New rule > use a formua > use
=COUNTIFS(A$2:A2,A2,C$2:C2,C2)>=2

select a fill colour.
Then turn on autofilter & filter col A for "No fill"
 
Upvote 0
I guess you can also just remove duplicates using "remove duplicates" on the data tab. In the dialog box that pops up, uncheck all columns other than A and C. That will work as well if you have a newer version of excel
 
Upvote 0
@joshman108
I have seen a number of threads advising against remove duplicates on multiple columns, as it seems to be a bit flaky.
 
Upvote 0
Cross posted https://www.excelforum.com/excel-general/1293982-hide-or-delete-duplicates.html

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
I'm going to assume columns F & G are blank.
In F2 you can type

=concatenate(a2,c2)

In g2 you can type

=COUNTIFS(F$2:F2,F$2:F2)

Then you can drag those formulas down to the length of your data.
Then you can filter column G where it's greater than 1.
Then delete those rows.



this worked :D
 
Upvote 0
Cross posted https://www.excelforum.com/excel-general/1293982-hide-or-delete-duplicates.html

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.

i will keep this in mind for furture post
 
Upvote 0
Thank you & glad you got a solution you like
 
Upvote 0

Forum statistics

Threads
1,223,954
Messages
6,175,603
Members
452,660
Latest member
Zatman

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