How do I get this to work (I know it's wrong but it makes sense in MY head):
I want the range A4:D4 only to be summed where the cells directly above are <> 0.
So if
A3 = 1
B3 = 2
C3 = 0
D3 = 0
And
A4 = 300
B4 = 500
C4 = 700
D4 = 200
then the result will be 800 (A4 + B4)
Code:
{=SUMIF(A4:D4,A3:D3<>0)*1000}
I want the range A4:D4 only to be summed where the cells directly above are <> 0.
So if
A3 = 1
B3 = 2
C3 = 0
D3 = 0
And
A4 = 300
B4 = 500
C4 = 700
D4 = 200
then the result will be 800 (A4 + B4)