Hi all,
I'm trying to work out this formula.
So cell D currently is =sum(A*B) but if it is a negative number, I just 0 the cell.
I want it so if cell B is a negative number, then cell D = 0, if it is a positive number, then =A*B.
I've tried with something like this, =IF(B1<0,$A1*B1, 0) but that just equals to -338.94.
Thank you
I'm trying to work out this formula.
A | B | C | D |
16.14 | -21 | 75 | -338.94 |
26.61 | 18 | 14 | 478.98 |
So cell D currently is =sum(A*B) but if it is a negative number, I just 0 the cell.
I want it so if cell B is a negative number, then cell D = 0, if it is a positive number, then =A*B.
I've tried with something like this, =IF(B1<0,$A1*B1, 0) but that just equals to -338.94.
Thank you