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
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

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
 

Watch MrExcel Video

Forum statistics

Threads
1,133,567
Messages
5,659,580
Members
418,509
Latest member
empk

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top