T
tlee
i have a spreadsheet that look like the following
a b c
name code 2004 sales
alaska c 30000
alaska d 6000
arizona d 50000
Everytime there is alaska and c i want the 2004 sales.
My formula is as follow
sumproduct(((a1:a20)= a1)*(b1:b20)=b1)*(c1:c20)))
I get a #value.
am i doing something wrong.
a b c
name code 2004 sales
alaska c 30000
alaska d 6000
arizona d 50000
Everytime there is alaska and c i want the 2004 sales.
My formula is as follow
sumproduct(((a1:a20)= a1)*(b1:b20)=b1)*(c1:c20)))
I get a #value.
am i doing something wrong.