=IFS(A2<=49,"Too Short",A2>=61,"Too Long",A2<=60,"Perfect")
=IF(A2>=61,"Too Long",IF(A2>=50,"Perfect","Too Short"))
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I'm having some trouble with the IFS formula. I have tried both IFS and IF, without any success.
Basically, I'm pulling data with a random range of 1-100.
If the data is less than (or equal to) "49", then I need to return the value "Too short!"
If the data is equal to the range of "50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60", then I need to return the value "Perfect!"
If the data is greater than (or equal to) "61", then I need to return the value "Too long!"
I have managed to get the less than a greater than to work, and I have managed to get the equal to a range to work, BUT I can't seem to get these to work together. I need this function in one cell, and it's giving me a bit of a headache.
Can someone give me a hand here?
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
=IFS(A2<=49,"Too Short",A2>=61,"Too Long",A2<=60,"Perfect")
=IF(A2>=61,"Too Long",IF(A2>=50,"Perfect","Too Short"))