Solved

Excel question

Posted on 2013-06-11
2
204 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:
Michael Fowler 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
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…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

728 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