Counting & Sorting duplicates

sidd0053

New Member
Joined
Jun 8, 2018
Messages
9
Hi,

Is there a way to count and sort duplicates?

I have a lot of duplicate entries in Column A, I would like to know if there is a formula, or formulas that will count the duplicates and then categorize them into a smaller list --> "X" "# of duplicates"
"Y" "# of duplicates"

I just want the Name of the duplicate once and then the number of Duplicates beside it.



I got to the point where I was able to count the duplicates, but it gave me a number beside every duplicate entry:
[TABLE="width: 651"]
<tbody>[TR]
[TD]Subject[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Classification[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Classification[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Denise Cressman[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Denise Cressman[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Leadership Plus[/TD]
[TD="align: right"]40[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Run a pivot table.
Drop the field in both the row label and Sigma (for Count of)
 
Upvote 0
I tried but couldn't get it to work.

I want excel to automatically count a duplicate, show the value (number of duplicates) in another cell and then delete the duplicate while still maintaining that value.

Basically the algorithm would be:
1.Excel sees there's a duplicate.
2.Plus 1 to the column B of the first occurrence.
3.Delete the duplicate while still maintaining the value of the B column in the first occurrence.
4.Repeat the process if there is more duplicate entry.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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