Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this array formula**:
Named ranges: Date: refers to A1:A8 Emp: refers to B1:B8 Prod: refers to C1:C8 E1 = lookup date = 10/12/2008 F1 = prod number = 700 =COUNT(1/FREQUENCY(IF((Date=E1)*(Prod=F1),Emp),Emp)) Assumes there are no empty cells with Emp Also assumes that your employee numbers are really *numbers* as your sample demonstrates. ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) -- Biff Microsoft Excel MVP "MAANI" wrote in message ... This is what I have: A (Date) B (Emp #) C (Product #) 10-Oct-08 2 700 10-Oct-08 3 710 11-Oct-08 3 700 12-Oct-08 1 702 12-Oct-08 1 700 12-Oct-08 2 700 12-Oct-08 2 700 12-Oct-08 2 740 I want a formula to count how many employees worked on a certain product in a certain day . Example: on 12-Oct-08,2 employees worked on product # 700.Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Attempting to sort unique/only count first record in each unique g | Excel Discussion (Misc queries) | |||
Count Unique Values | Excel Worksheet Functions | |||
Count unique entries... | Excel Worksheet Functions | |||
Unique entry count | Excel Discussion (Misc queries) | |||
Count Unique Entries | Excel Worksheet Functions |