Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Combining IF and IF AND Formulas

✭✭✭
edited 11/10/22 in Formulas and Functions

I have three formulas below that work as individual formulas. I am trying to combine them in my Status column into one formula so my cell automatically updates based on the percent shown in the % complete cell. I thought it should be =IF([% Complete]@row = 0, "Not Started"), IF(AND([% Complete]@row > 0.01, [% Complete]@row < 1), "In Progress"), IF([% Complete]@row = 1, "Complete") but that does not seem to work.

Basically, if the % complete is 0 then it should return "Not started", if it's between 1%-99/100% then it should return "In Progress" and if it's 100% it should return "Complete".

IF([% Complete]@row = 0, "Not Started")

IF(AND([% Complete]@row > 0.01, [% Complete]@row < 1), "In Progress")

IF([% Complete]@row = 1, "Complete")

I am confused because each formula works on its own but they do not work together. What am I doing wrong?

Tags:

Best Answer

  • ✭✭✭✭✭✭
    Answer ✓

    Hi @Jodi C,

    I automated my Status column the same way using this.

    =IF([% Complete]@row = 0, "Not Started", IF(AND([% Complete]@row >= 0.01, [% Complete]@row < 1), "In Progress", "Complete"))

    Hope this helps!

    BRgds,

    -Ray

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions