Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have data like following
WO createdate grp1 1 20/02/2007 a 2 21/02/2007 a 3 23/02/2007 a 4 24/02/2007 a 5 25/02/2007 a 6 26/02/2007 a 7 20/02/2007 b 8 21/02/2007 b 9 23/02/2007 b 10 24/02/2007 b 11 25/02/2007 b 12 26/02/2007 b I want to calcutale total no of records for each group between Specific Date Like this: 20/02/2007 -23/02/2007 23/02/2007- 26-02/2007 a 3 3 b 3 3 Can Anybody help its urgent |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assuming dates are in B2:B13 and "a" and "b" are in C2:C13, try:
=SUMPRODUCT(--(B2:B13=DATE(2007,2,20)), --(B2:B13<=DATE(2007,2,23)),--(C2:C13="a")) =SUMPRODUCT(--(B2:B13=DATE(2007,2,20)), --(B2:B13<=DATE(2007,2,23)),--(C2:C13="b")) Of course, you could use cell references for the following items: DATE(2007,2,20) DATE(2007,2,23) "a" "b" "count between two date with one more con" wrote: I have data like following WO createdate grp1 1 20/02/2007 a 2 21/02/2007 a 3 23/02/2007 a 4 24/02/2007 a 5 25/02/2007 a 6 26/02/2007 a 7 20/02/2007 b 8 21/02/2007 b 9 23/02/2007 b 10 24/02/2007 b 11 25/02/2007 b 12 26/02/2007 b I want to calcutale total no of records for each group between Specific Date Like this: 20/02/2007 -23/02/2007 23/02/2007- 26-02/2007 a 3 3 b 3 3 Can Anybody help its urgent |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count cells with condition | Excel Worksheet Functions | |||
Count occurences in array with condition | Excel Worksheet Functions | |||
count col-A if col-B = condition | Excel Worksheet Functions | |||
count on condition / Formula | Excel Worksheet Functions | |||
Count the occurence of more than one condition | Excel Worksheet Functions |