Ranking text based on duplicate text in a column

MichaelPitre

New Member
Joined
Jul 12, 2018
Messages
2
Hello, I have a large worksheet with 8693 rows and 69 columns and I would like to rank how many times a customers name is mentioned in a column. I'm familiar with filtering and pivot tables but my skill levels require I manually add up the customer names.
I thought I could use a =RANK formula but I believe it only works with numbers not text. I tried =COUNTIF(D2:D8693,"<="D2) and that did give me the desired result. I tried adding a helper column on a separate worksheet with all of the names mentioned as a helper list, but could not achieve my desired result. My goal is to see whose name appears the most in a ascending order.
Thank you in advance for taking time out to help me figure out this Excel riddle. Better living through Excel!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hello, I have a large worksheet with 8693 rows and 69 columns and I would like to rank how many times a customers name is mentioned in a column. I'm familiar with filtering and pivot tables but my skill levels require I manually add up the customer names.
I thought I could use a =RANK formula but I believe it only works with numbers not text. I tried =COUNTIF(D2:D8693,"<="D2) and that did give me the desired result. I tried adding a helper column on a separate worksheet with all of the names mentioned as a helper list, but could not achieve my desired result. My goal is to see whose name appears the most in a ascending order.
Thank you in advance for taking time out to help me figure out this Excel riddle. Better living through Excel!

A pivot table should work if you just want a column of unique names and an adjacent column with a count for each name. You can then sort the pivot table in descending order by name count.

NamesRow LabelsCount of Names
JohnMark11
JohnMary5
JohnJohn5
JohnJoe3
JohnGrand Total24
Mary
Mary
Mary
Mary
Mary
Joe
Joe
Joe
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark

<tbody>
</tbody>


hth,
mb110
 
Upvote 0
That worked. Simple and easy.

A pivot table should work if you just want a column of unique names and an adjacent column with a count for each name. You can then sort the pivot table in descending order by name count.

NamesRow LabelsCount of Names
JohnMark11
JohnMary5
JohnJohn5
JohnJoe3
JohnGrand Total24
Mary
Mary
Mary
Mary
Mary
Joe
Joe
Joe
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark

<tbody>
</tbody>


hth,
mb110
 
Upvote 0

Forum statistics

Threads
1,213,531
Messages
6,114,172
Members
448,554
Latest member
Gleisner2

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