Multiple if statements - Due Date is less than, use text

Hello,


I am a project manager and am new to using smartsheets. I am trying to set up a formula with multiple if statements.

Logic: If the due date is between 2/9 and 2/18, add text to cell "Launch - Feb 18". If the Due Date is between 2/19 and 3/1, add text to cell "Training Comms - Mar 1"., etc.

I have been able to create a formula for the first one:

=IF(Due1 < DATE(2021, 2, 18), "Launch - Feb 18")

When I try to add the 2nd if statement, it is unparsable.


Thank you!

Answers

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    =IF(Due1 < DATE(2021, 2, 18), "Launch - Feb 18", IF(due1 < Date(2021, 3, 1), "Training Comms - Mar 1"))

    If you want to add another, just add a comma before the 2 closing paragraphs. You can't close an IF statement until the very end. The end parenthesis will pile up on you, but that's how you keep the process going,

    = IF(CONDITION, THEN, IF(CONDITION, THEN, IF(CONDITION, THEN, ELSE)))

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!