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:
Subject
Leadership Plus40
Leadership Plus40
Leadership Plus40
Leadership Plus40
Leadership Plus40
Leadership Plus40
Leadership Plus40
Classification2
Classification2
Leadership Plus40
Leadership Plus40
Denise Cressman5
Denise Cressman5
Leadership Plus40
Leadership Plus40

<tbody>
</tbody>
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,216,028
Messages
6,128,387
Members
449,445
Latest member
JJFabEngineering

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