SUMPRODUCT help needed
On 17/01/2012 11:40 AM, cupertino wrote:
WK # Total Category
1 $150.00 1
1 $172.30 2
1 $7.50 3
1 $5.20 6
3 $18.33 1
1 $21.00 2
1 $9.95 3
1 $6.15 1
1 $151.65 2
1 $2.43 3
1 $100.30 6
2 $51.10 6
3 $7.00 6
4 $30.96 6
Hi
Be handy if we new how your columns were formatted.
I replicated your array and it worked fine for me, that said! I
formatted Week#, Total & Category as Numeric.
Not sure why your getting an error, quite possibly your columns are Text
Values and not numeric.
I am using 2010 and I converted all the cells to Text and the formula
still returned the same answer, not sure if your version treats Text
Values that look like numbers as numbers.
I used the following: ( assuming top row was header row )
=SUMPRODUCT(($A2:$A50000=1)*($C2:$C50000=1)*($H2:$ H50000))
This returned a total of 174.48
HTH
Mick
|