Forum Discussion

Rory Majors's avatar
Rory Majors
Copper Contributor
Jul 23, 2018

Excel 2016 IF Nested question

I have tried to input this multiple ways but seem to be missing something. I have a function (U120>S120,0,S120-U120)+R121. in a cell and need to add to it that if the entirety of the function is >8 then it will be limited to 8 and if it is less than 8 then it will show the true value of the function

  • Hi Rory,

     

    Not sure what exactly is your function, but in general

    =MIN(<function result>,8)
    • Rory Majors's avatar
      Rory Majors
      Copper Contributor

      My terminology is probably off. What I am trying to say is I get a number from (U120>S120,0,S120-U120)+R121. I want it to display 8 if the result of the number is greater than 8. If it is lower than 8 I want it to read the result of the equation.

    • Rory Majors's avatar
      Rory Majors
      Copper Contributor

      I am assuming this can be done all in one cell but am having trouble trying to figure out the way to input it. I do not want to have a separate cell with =IF(U121>S121,0,S121-U121)+R122 in it and see if I can have that included in the IF equation.

Resources