Forum Discussion

megansummer's avatar
megansummer
Copper Contributor
Mar 17, 2022
Solved

How to fix my IF function so it doesn't include blank cells

Good morning,   I have created an if/and function formula to assign a score of 1-5 based on what data gets entered in column AG. So far it is calculating correctly but it is also assuming any blank...
  • HansVogelaar's avatar
    Mar 17, 2022

    megansummer 

    Why do you have "5", "4" etc.? That makes the scores text values.

    Try this:

    =IFS($AG2="","",$AG2<=2.5,5,$AG2<=5,4,$AG2<=7.5,3,$AG2<=10,2,$AG2>10,1)

Resources