M
mark1
I have three columns. They go like this:
100 1 2
200 0 2
100 1 0
200 0 2
100 1 2
200 0 0
I've always been under the impression that a + sign
represents OR. When I try this formula:
=sumproduct(((C1:C6>0)+(B1:B6>0))*A1:A6)
I get 900. I want it to equal 700, because I want the
formula to say if column B OR column C is greater than 0,
then sum column A. I must be doing something wrong. What
is it? Help is appreciated!!!
100 1 2
200 0 2
100 1 0
200 0 2
100 1 2
200 0 0
I've always been under the impression that a + sign
represents OR. When I try this formula:
=sumproduct(((C1:C6>0)+(B1:B6>0))*A1:A6)
I get 900. I want it to equal 700, because I want the
formula to say if column B OR column C is greater than 0,
then sum column A. I must be doing something wrong. What
is it? Help is appreciated!!!