Solved

Excel question

Posted on 2013-06-11
2
175 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now