Forum Discussion
Kristie365
Dec 05, 2023Copper Contributor
Excel Formula Error - Too Many Arguments - Comma or Parenthesis Error?
Greetings, I am trying to create the following formula - =IF(F2=$P$2,IF(M2>0.6,3%,IF(M2>0.5,2%,IF(M2>0.4,1%,IF(M2>0.3,0%)))),IF(F2=$P$4,IF(M2>0.6,3%,IF(M2>0.5,2%,IF(M2>0.4,1%,IF(M2>0.3,0%)))),I...
- Dec 05, 2023
HansVogelaar This works! Thank you so much! And now makes much more sense. Have a wonderful day.
Lorenzo
Dec 05, 2023Silver Contributor
Hi Kristie365
This doesn't raise any error but you miss a value_if_false in your last nested IF
=IF(F2 = $P$2,
IF(M2 > 0.6, 3%,
IF(M2 > 0.5, 2%,
IF(M2 > 0.4,1%,
IF(M2 >0.3,0%,
IF(F2 = $P$4,
IF(M2 > 0.6,3%,
IF(M2 > 0.5,2%,
IF(M2 >0.4, 1%,
IF( M2 > 0.3,0%,
IF(F2 = $P$3, 3%,
IF(F2 = P5, 1%, "ELSE WHAT?")
)
)
)
)
)
)
)
)
)
)
)
TBH I didn't try to understand what this formula is supposed to do as it looks scary to me. My suggestion would be that you follow the recommendations in Welcome to your Excel discussion space! as there's probably a better way to do what you expect. Hope this makes sense & helps in the meantime
Kristie365
Dec 05, 2023Copper Contributor
Thank you for the response! The below formula correction works 🙂 Have a nice day