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
-
=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
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!