J
JoeU2004
I don't have Excel 2007, so I cannot use offline help to learn about SUMIFS.
I've tried Google searches, but I have not found a canonical source of
online help for Excel SUMIFS per se.
I do find a tech ref page for the WorksheetFunction.SUMIFS method. That
should be the same. But that description is ambiguous; it does not answer
my question (below).
That is the form of SUMIFS that I am familiar with: criteria are pairs
(range and selection criteria) after the first argument, which is the range
to summed conditionally.
In that form, SUMIFS would be limited to 14 conditions -- 29 arguments.
Not that that shouldn't be enough(!).
But the function does support 30 arguments. So I wonder if the following
single-argument criteria forms are also permitted (and useful to the extent
that they make sense logically):
1. Is SUMIFS(A:A,"<10") permissible?
In other words, sum cells in A:A if the cell is less than 10. Or must that
be written SUMIFS(A:A,A:A,"<10")?
2. Is SUMIFS(A:A,">0","<10") permissible?
In other words, sum cells A:A if the cell is greater than 0 and less than
10. Or must that be written SUMIFS(A:A,A:A,">0",A:A,"<10")?
I've tried Google searches, but I have not found a canonical source of
online help for Excel SUMIFS per se.
I do find a tech ref page for the WorksheetFunction.SUMIFS method. That
should be the same. But that description is ambiguous; it does not answer
my question (below).
=SUMIFS(C1:C5,A1:A5,"x",B1:B5,"y")
The SUMPRODUCT equivalent:
=SUMPRODUCT(--(A1:A5="x"),--(B1:B5="y"),C1:C5)
That is the form of SUMIFS that I am familiar with: criteria are pairs
(range and selection criteria) after the first argument, which is the range
to summed conditionally.
In that form, SUMIFS would be limited to 14 conditions -- 29 arguments.
Not that that shouldn't be enough(!).
But the function does support 30 arguments. So I wonder if the following
single-argument criteria forms are also permitted (and useful to the extent
that they make sense logically):
1. Is SUMIFS(A:A,"<10") permissible?
In other words, sum cells in A:A if the cell is less than 10. Or must that
be written SUMIFS(A:A,A:A,"<10")?
2. Is SUMIFS(A:A,">0","<10") permissible?
In other words, sum cells A:A if the cell is greater than 0 and less than
10. Or must that be written SUMIFS(A:A,A:A,">0",A:A,"<10")?