Count Unique Values - How many people frome eachs state.

Sanwize

New Member
Joined
Jul 29, 2010
Messages
3
I have a list of users who have registered for an event. There are hundreds of records.

I would like to create a list of how many users are from each state. Any ideas on where I could find some help or suggestions for this.

I looked on Youtube but I must not have been searching under the right term.

Thanks for your help

Jason
 

Some videos you may like

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

pagrender

Well-known Member
Joined
Sep 3, 2008
Messages
652
Have you used a pivot table? It's a great way to summarize your data by whatever criteria you specify. You can have the pivot table give you the count of each state. We can talk you through it if you haven't used one before. What version of Excel do you have?

Also, SUMIF is a function that will work - but you will have to list all of your states.
 

Sanwize

New Member
Joined
Jul 29, 2010
Messages
3
I am using Excel 2007, and honestly I havent used pivot tables before. But I am searching google now.
 

pagrender

Well-known Member
Joined
Sep 3, 2008
Messages
652
I'm sure there's plently of great videos that will help.

If not, maybe these directions will:
Highlight all your data (make sure they have a header row)
Hit Insert/Pivot Table
Hit Okay
Drag your "State" field to the "Row Labels" section of the Pivot Table Field List
Drag the field that you want to count to the "Values" section

Let us know if that didn't work.

Pete
 

stratthaslam

Board Regular
Joined
Feb 4, 2009
Messages
63

ADVERTISEMENT

Are all the states in the same column ?

You could try =Countif(a:a,"Georgia") if they are.

Change the a:a to the appropriate column range of course :)
 

Sanwize

New Member
Joined
Jul 29, 2010
Messages
3
Wow, I am a big fan of Pivot Tables. That was awesome and super easy.

Thanks Pete
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,407
Messages
5,511,169
Members
408,828
Latest member
Csmnvld

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top