Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RAR RAR is offline
external usenet poster
 
Posts: 2
Default How do I count the frequency of items in a non-numeric list?

I have a list of employees (in Excel 2002) who are working in many different
countries. I want to calculate how many are in each country. How do I do
this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RAR RAR is offline
external usenet poster
 
Posts: 2
Default How do I count the frequency of items in a non-numeric list?

I was hoping there was a formula (like a histogram) that would count the
countries so I wouldn't have to enter each country name individually into a
formula. I would only need to count the data in one column (the country
column) since the countries are entered multiple times (one line per
employee). (e.g., something that would count 4 occurences of Canada, 2 of
Belgium etc in this one column). Unfortunately, a histogram won't count
non-numeric text. Any ideas? RAR

"Dave F" wrote:

Use SUMPRODUCT

Assume employee name is in column A and country is in column B

=SUMPRODUCT((A1:100)*(B1:B100="USA")) would count the number of employees
that are in the USA. Replace "USA" with the country of your choice, and
adjust the ranges to suit your data.

Dave
--
Brevity is the soul of wit.


"RAR" wrote:

I have a list of employees (in Excel 2002) who are working in many different
countries. I want to calculate how many are in each country. How do I do
this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 87
Default How do I count the frequency of items in a non-numeric list?

You could use a PivotTable, putting the country on the left side and
just having a count for the actual data.

Alternatively, you could use the advanced filter
(Data-Filter-Advanced Filter) to generate a static list of each
individual country, and then use a COUNTIF() on your full list for each
country. To use the advanced filter, specify the data range to be
just the column with the country names, make sure to choose Copy To
Another Location and specify the location, and also check Unique
Records Only button.

Scott

RAR wrote:
I was hoping there was a formula (like a histogram) that would count the
countries so I wouldn't have to enter each country name individually into a
formula. I would only need to count the data in one column (the country
column) since the countries are entered multiple times (one line per
employee). (e.g., something that would count 4 occurences of Canada, 2 of
Belgium etc in this one column). Unfortunately, a histogram won't count
non-numeric text. Any ideas? RAR

"Dave F" wrote:

Use SUMPRODUCT

Assume employee name is in column A and country is in column B

=SUMPRODUCT((A1:100)*(B1:B100="USA")) would count the number of employees
that are in the USA. Replace "USA" with the country of your choice, and
adjust the ranges to suit your data.

Dave
--
Brevity is the soul of wit.


"RAR" wrote:

I have a list of employees (in Excel 2002) who are working in many different
countries. I want to calculate how many are in each country. How do I do
this?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto updating list Larry Excel Worksheet Functions 8 July 27th 06 01:59 PM
How to pick one or more items out of a list, moving to new list, moving up or down. (form) Subteam Excel Discussion (Misc queries) 3 February 17th 06 04:13 AM
List of items appeared in range realspido Excel Worksheet Functions 1 February 9th 06 11:30 AM
Count items on the list dannyboy213 Excel Discussion (Misc queries) 5 February 2nd 06 08:12 PM
How do I find out what items are in one list but not in another l. Michelle Craig Excel Discussion (Misc queries) 2 December 22nd 04 08:32 PM


All times are GMT +1. The time now is 02:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"