Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count
Hi,
On my file I get a list of accounts. I have a look up which lets me know which account belongs to which individual. I need to know how many different individuals there are each day. There can be a lot of change with new accounts etc so was thinking of doing a pivot table and somehow using a COUNT function but am not sure if this is going to work or if there is a better alternative. Thanks Louisa |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count
Also, I need to be able to know which group each individual belongs to
(which I also assign via a lookup) so that I can split headcount by group and also office. Thanks again Louisa |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count
You can count the individuals with
=SUMPRODUCT(--(B1:B100<""),1/(COUNTIF(B1:B100,B1:B100&"")) -- HTH Bob "Louja" wrote in message ... Hi, On my file I get a list of accounts. I have a look up which lets me know which account belongs to which individual. I need to know how many different individuals there are each day. There can be a lot of change with new accounts etc so was thinking of doing a pivot table and somehow using a COUNT function but am not sure if this is going to work or if there is a better alternative. Thanks Louisa |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count
I get that formula and it works well for all the individuals but say I
wanted to count how many different individuals were in London / Paris (see below) how would I get this to work Name Group Adam Smith London John Pickles Paris Lee Adams Paris Ben Jones London Adam Smith London John Pickles Paris Thanks again Louisa |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count
Why didn't you say so?
Use this array formula =SUM(--(FREQUENCY(IF(B2:B100="Paris",MATCH(A2:A100,A2:A10 0,0)),ROW(INDIRECT("1:"&ROWS(A2:A100))))0)) -- HTH Bob "Louja" wrote in message ... I get that formula and it works well for all the individuals but say I wanted to count how many different individuals were in London / Paris (see below) how would I get this to work Name Group Adam Smith London John Pickles Paris Lee Adams Paris Ben Jones London Adam Smith London John Pickles Paris Thanks again Louisa |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count
I didn't say so as I only just figured that is what I wanted......
|
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count
I have tried to use this formula and it comes back with 0
On 12 Mar, 09:41, "Bob Phillips" wrote: Why didn't you say so? Use this array formula =SUM(--(FREQUENCY(IF(B2:B100="Paris",MATCH(A2:A100,A2:A10 0,0)),ROW(INDIRECT ("1:"&ROWS(A2:A100))))0)) -- HTH Bob "Louja" wrote in message ... I get that formula and it works well for all the individuals but say I wanted to count how many different individuals were in London / Paris (see below) how would I get this to work Name Group Adam Smith London John Pickles Paris Lee Adams Paris Ben Jones London Adam Smith London John Pickles Paris Thanks again Louisa |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count
All works now - thank you very much.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Multiple Criteria, Count If, Sum Product to get count across range | Excel Worksheet Functions | |||
Count Employee Work Time - Don't Double-count Overlapping Apts. | Excel Worksheet Functions | |||
Excel 2000, count, sort a list & count totals? | Excel Worksheet Functions | |||
Count Intervals of 1 Numeric value in a Row and Return Count down Column | Excel Worksheet Functions | |||
Count Intervals of Filtered TEXT values in Column and Return Count across a Row | Excel Worksheet Functions |