Forum Discussion

miniding89's avatar
miniding89
Copper Contributor
Mar 18, 2022
Solved

IFS formula in Excel 2016

Hello all!    I have created a spreadsheet that contains multiple IFS formulas. They work perfect in Office 365 Excel, Google sheets, etc. However, they seem to return a #NAME in Excel 2016.    D...
  • HansVogelaar's avatar
    HansVogelaar
    Mar 18, 2022

    miniding89 

    That would be

     

    =IF(E4>89, 5, IF(E4>69, 4, IF(E4>39, 3, IF(E4>0, 2))))

     

    If E4 will never contain a number <=0, you can shorten it to

     

    =IF(E4>89, 5, IF(E4>69, 4, IF(E4>39, 3, 2)))

Resources