Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Excel 2010:  Count

Posted on 2013-06-20
4
436 Views
Last Modified: 2013-06-20
Hi Experts!  I need a formula that will count how many times a name appears in column A.  For example after I sort that column from A to Z i need to get a count of hown many times that username appears.   I could do this manually but that column is about 2000 rows, it would take forever.

JDOE
JDOE
JDOE
         3 imes

Thank you.
0
Comment
Question by:itsmevic
4 Comments
 
LVL 23

Assisted Solution

by:NBVC
NBVC earned 175 total points
ID: 39263696
Do you want a count in an adjacent column using a formula like:

=COUNTIF(A:A,A1) copied down

If you want a count below each name after sorting, you can use SUBTOTALS from the Data Menu.. select Count at the Use Function field.. ensure correct column is selected at the top and check same column in the bottom section...

If you want a table of all names and counts separately, you can use a Pivot Table... Insert|Pivot table, then drag the name to the Row area, and the Name again to the Summation area... it should give count of each name.
0
 
LVL 25

Assisted Solution

by:Ron Malmstead
Ron Malmstead earned 165 total points
ID: 39263698
=COUNTIF(A1:A2000,"JDOE")
0
 

Assisted Solution

by:mrbcam21
mrbcam21 earned 110 total points
ID: 39263725
=COUNTIF(A:A,"JDOE")
0
 
LVL 24

Accepted Solution

by:
Steve earned 50 total points
ID: 39263847
****  just read NB_VC after posting this one  ****
**** I agree with him that you should use pivot table  ****

Essentially same as NB_VC... (so no point for me on this one)
Add a column header (if not there already) such as UserName
Highlight data in A:A including header and go to Data > Pivot table
Click OK
Drag the UserName Field into the Row area and the Sum (sigma symbol) area.

You should now have the list of usernames in order and with a count next to each.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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