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? |
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? |
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? |
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? |
All times are GMT +1. The time now is 04:02 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com