Im trying to write an if statement but not having much luck with the syntax, this is what I would like it to do.
=IF(Q20=1,D20,D20-value of Q20)
If the Value in Q20 is 4, then it will return the value in cell D16
If the value in Q20 is 10, it will return the value in D10
Any help on this would be much appreciated.
Thanks!!