Forum Discussion
Halikarnas76
Sep 24, 2019Copper Contributor
To use more than one IF formula
Good day to all I want to use more than one IF in formula to calculate commission amount to be given from the profit.My formula is =IF(C4>20%*C21;3%*C4;IF(C4>40%*C21;5%*C4;"No Bonus")) All the ti...
Halikarnas76
Sep 24, 2019Copper Contributor
Thanks for quick helpSubodh_Tiwari_sktneer
But i already tried to use comma instead of semicolon. Here is the error message in attached
Subodh_Tiwari_sktneer
Sep 24, 2019Silver Contributor
I forgot to replace the comma with semicolon in the proposed formula.
Please try it like this...
=IF(C4>40%*C21;5%*C4;IF(C4>20%*C21;3%*C4;"No Bonus"))
If that answers your original question, please take a minute to accept this post as an Answer to mark your question as Solved.
- Halikarnas76Sep 24, 2019Copper Contributor
OMG I found the mistake. I was trying to calculate only percentage. So i changed the formula as to =IF(C4>1.4*C21;5%*C4;IF(C4>1.2*C21;3%*C4;"No Bonus")) and it`s working perfect. Thanks for your help my friend.
- Subodh_Tiwari_sktneerSep 24, 2019Silver Contributor
You're welcome!