Solved

Excel question

Posted on 2013-06-11
2
198 Views
Last Modified: 2013-06-13
I have two columns.  Column A contains first and last names.  Column B is the category of the job.  A person will have completed jobs in different categories and in the same category; and so their name will show up more than once in column A.

I want to be able to query the job category and then show how many times the person is in that category.

Say, John Smith is in column A twice and both categories for him are MOWING.  I want to query it and then format the result to show:

John Smith 2
0
Comment
Question by:dorianit
[X]
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
2 Comments
 
LVL 17

Assisted Solution

by:Kent Dyer
Kent Dyer earned 250 total points
ID: 39239960
Pivot should do what you are looking for.

See attached.

HTH,

Kent
Pivot-sample.xlsx
0
 
LVL 23

Accepted Solution

by:
Michael74 earned 250 total points
ID: 39240287
Another solution would be to have another column for the count and use the countif expression

For example if you want to count the number of times the value in A1 appears in column A use

=COUNTIF($A:$A, A1)

You can then just drag the formula down to fill the range

Michael
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

733 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