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.

I believe I need help with an IF OR formula

I am trying to create a formula where my swimlane shows as complete if the completion is complete, but if a project is in progress but the status is still green, I want it to show as On Target. How do I make my formula so that green is On Target unless it is marked as complete, in that case it would be called complete. Here is my current formula:

=IF(Status@row = "Red", "High Risk", IF(Status@row = "Yellow", "Medium Risk", IF(Status@row = "Green", "On Target", IF(Complete@row = "Complete", "Complete", IF(Complete@row = "Not Started", "Not Started")))))

Tags:

Answers

  • ✭✭✭✭✭✭

    The IF/Then formula will stop at the first true answer. I would start by moving your last two arguments to the front like this and see if this gives you the right results:

    =IF(Complete@row = "Complete", "Complete", IF(Complete@row = "Not Started", "Not Started", IF(Status@row = "Red", "High Risk", IF(Status@row = "Yellow", "Medium Risk", IF(Status@row = "Green", "On Target"

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I'm trying to create a SUMIF formula that looks at the salesperson name in a column and adds up or totals their $ sales in another column. To ultimately show in Dashboard of Totals Sales by Salesperso…
    User: "Allan Z"
    Answered ✓
    9
    2
  • Good day Smartsheet Team, Getting an unparseable error on this formula: =IF($Name@row <> "",(SUMIFS({Expense}, {Period},1, {Type}, OR(@cell = "RES602782", @cell = "RES602497")),"") Trying to pull in a…
    User: "stratman"
    Answered ✓
    15
    2
  • I have a sheet that compiles all the responses from a form. The sheet has multiple start and end date columns, but only one start and one end date cell is NOT blank depending on the activity selected …
    User: "m_anderson"
    Answered ✓
    13
    2