Count each unique value and give running total

Posted on 2013-09-27
Medium Priority
Last Modified: 2013-09-27
Hi Experts

Need a bit of help on this issue please.

In column A, I have several thousand names of clients.  What I need to do is
to count each unique value and assign the running total in column B.  See example.  Column A is my original list and column B is what I need to create.

Column A                           Column B

John                                          1
John                                          2
Mary                                         1
Joe                                            1
Joe                                            2
Fred                                          1
John                                          3

Thanks so much in advance.

Question by:spudmcc
LVL 11

Accepted Solution

John Easton earned 1000 total points
ID: 39527496
Assuming the data starts in cell A1 then type the below in cell B1 and drag or fill down:


Open in new window

LVL 54

Assisted Solution

Rgonzo1971 earned 1000 total points
ID: 39527497

pls try



Author Closing Comment

ID: 39527523
Thanks to you both so much for the quick response.  I was hoping it would be easy.  
You both came up with the same solution at almost the same time so I hope you are alright with me splitting the points.  

Thanks again


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
As a person who answers a lot of questions, I often see code that could be simplified, made easier to read, and perhaps most importantly made easier to maintain if the code was modified to use the Select Case statement. This article explains how to…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question