#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Count

I have a column of data (country codes). I wish to generate a count of how
many instances of each country. I know I can easily do this using CountIf(
range, criteria ).

The list, however, can change unbeknownst to me, therefore, I am looking for
a way to generate the count without me typing the country code.

The List
---------
AU
CH
AU
AU
CN
US
US
US
CN
etc.

Desired Output
-----------------
AU 3
CH 1
CN 2
US 3
etc.

So, how would one count the instances in a list without knowing what they
are ahead of time?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 430
Default Count

You could use 'Data'....'subtotals' to get a count. You may have to sort the
data 1st of all.

"Shoelaces" wrote:

I have a column of data (country codes). I wish to generate a count of how
many instances of each country. I know I can easily do this using CountIf(
range, criteria ).

The list, however, can change unbeknownst to me, therefore, I am looking for
a way to generate the count without me typing the country code.

The List
---------
AU
CH
AU
AU
CN
US
US
US
CN
etc.

Desired Output
-----------------
AU 3
CH 1
CN 2
US 3
etc.

So, how would one count the instances in a list without knowing what they
are ahead of time?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Count

Hi

One way.
Select column E:FDataConsolidateFunction CountSourceA:BUse labels
in Left ColumnOK

After data changes. just choose DataConsolidateOK


--
Regards

Roger Govier


"Shoelaces" wrote in message
...
I have a column of data (country codes). I wish to generate a count of
how
many instances of each country. I know I can easily do this using
CountIf(
range, criteria ).

The list, however, can change unbeknownst to me, therefore, I am
looking for
a way to generate the count without me typing the country code.

The List
---------
AU
CH
AU
AU
CN
US
US
US
CN
etc.

Desired Output
-----------------
AU 3
CH 1
CN 2
US 3
etc.

So, how would one count the instances in a list without knowing what
they
are ahead of time?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Count

Data Advanced Filter select Copy to another location List range: select
your range Copy to: select any blank cell click Unique records only OK

After you have all the unique records, then use Countif function


"Shoelaces" wrote:

I have a column of data (country codes). I wish to generate a count of how
many instances of each country. I know I can easily do this using CountIf(
range, criteria ).

The list, however, can change unbeknownst to me, therefore, I am looking for
a way to generate the count without me typing the country code.

The List
---------
AU
CH
AU
AU
CN
US
US
US
CN
etc.

Desired Output
-----------------
AU 3
CH 1
CN 2
US 3
etc.

So, how would one count the instances in a list without knowing what they
are ahead of time?

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
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 07:22 PM.

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

About Us

"It's about Microsoft Excel"