Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm using a {=SUM(IF((A2:A11="1188")*(B2:B11="Feb"),C2:C11))}
I need to count the # in Column C when the criteria is met in A and B. This is an array formula. And I keep getting 0.... What am I doing wrong? Thanks, |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Firstly there's no need for an array, the formula =SUMPRODUCT((A2:A11=1188)*(B2:B11="Feb")*(C2:C11)) works equally well but note that i've taken the 1188 out of quotes on the assumption it's a number your looking for and left "Feb" inside quotes once again assuming it isn't a correctly formatted date. Adapting your formula in the same way also works array entered. =SUM(IF((A2:A11=1188)*(B2:B11="Feb"),C2:C11)) but i suggest you stick with sumproduct Mike "PFAA" wrote: I'm using a {=SUM(IF((A2:A11="1188")*(B2:B11="Feb"),C2:C11))} I need to count the # in Column C when the criteria is met in A and B. This is an array formula. And I keep getting 0.... What am I doing wrong? Thanks, |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is it meant to be
=SUM(IF((A2:A11=1188)*(B2:B11="Feb"),C2:C11)) -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "PFAA" wrote in message ... I'm using a {=SUM(IF((A2:A11="1188")*(B2:B11="Feb"),C2:C11))} I need to count the # in Column C when the criteria is met in A and B. This is an array formula. And I keep getting 0.... What am I doing wrong? Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
meaning of : IF(Switch; Average(array A, array B); array A) | Excel Worksheet Functions | |||
Array Formula | Excel Discussion (Misc queries) | |||
Array formula | Excel Worksheet Functions | |||
(array?) formula | Excel Discussion (Misc queries) | |||
Array Formula - using LEFT("text",4) in formula | Excel Worksheet Functions |