I have a sheet that I'm using to keep track of a few things, not complicated but there's one formula I would like help with to tidy it up. the three websites at the top of my google search yielded nothing so I've come for help because evidently I'm lazy...
To make it really simple I'll only give one set of cells this applies to and then I can apply it to the rest.
Cell A3 has the following formula:
However A1 and A2 are dependant on another formula from other cells (which shouldn't be relevant to my problem). As a result, A1 and A2 could be either negative or positive.
Is there a way to make the given formula in A3 apply only if the value in A1 and A2 is positive? Some sort of IF statement maybe?
Next step would then be to have the formula work for only the positive number, by assuming the negative number is zero (without changing the actual value in the cell - any help on that would be great too.
To make it really simple I'll only give one set of cells this applies to and then I can apply it to the rest.
Cell A3 has the following formula:
Code:
[B]=(A1*B1)+(A2*B2)[/B]
However A1 and A2 are dependant on another formula from other cells (which shouldn't be relevant to my problem). As a result, A1 and A2 could be either negative or positive.
Is there a way to make the given formula in A3 apply only if the value in A1 and A2 is positive? Some sort of IF statement maybe?
Next step would then be to have the formula work for only the positive number, by assuming the negative number is zero (without changing the actual value in the cell - any help on that would be great too.