Forum Discussion
Diane Dambrosio
Nov 19, 2017Copper Contributor
IF Function
I'm having problems figuring out an "IF" formula, I'm wondering if anyone can help me out. The question is as follows: If the Repeat? value is "YES", calculate the amount paid by subtracting 5 from the Fee.
I'm missing something in the formula that if the repeat value is "NO" it stays the same, not sure how to add that. Can anyone help me out?
Thanks,
Diane
7 Replies
- Haytham AmairahSilver Contributor
Hello Diane,
Try this:
- SergeiBaklanDiamond Contributor
Or the same
=A2-(B2="Yes")*5
- Rach31Copper Contributor
I know it's been years, but your formula still holds ๐
What if I want multiple cells subtracted from one particular cell, so:
=A1-(B1="yes")*5
=A1-(B2="yes")*3
=A1-(B3="yes")*8
Is there a way to make this one formula?
Thanks!