Combining IF formulas to Return Text Values
I have 3 columns; Start Date, End Date, Progress
I can get the following formulas to work separately for row 17:
=IF([Start Date]17 < TODAY(), "In Progress", "Not Started") Returns in the Progress column
=IF([End Date]17 < TODAY(), "Overdue") Returns in the Progress column.
I want to combine these 2 formulas in one cell to return either; In Progress, Not Started or Overdue.
If there are no dates in the Start and End Date columns I want it to return blank in the Progress column.
Additionally I would like to use [Start Date]:[Start Date] instead of [Start Date]17 to cover the whole column, but it doesn't seem to work in either formula.
Thanks
Tom
Comments
-
Hi Tom,
Try something like this.
This will show as blank if either the Start or End Date is blank.
=IF(OR(ISBLANK([Start Date]@row); ISBLANK([End Date]@row)); ""; IF([End Date]@row < TODAY(); "Overdue"; IF([Start Date]@row < TODAY(); "In Progress"; "Not Started")))
The same version but with the below changes for your and others convenience.
=IF(OR(ISBLANK([Start Date]@row), ISBLANK([End Date]@row)), "", IF([End Date]@row < TODAY(), "Overdue", IF([Start Date]@row < TODAY(), "In Progress", "Not Started")))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Hope that helps!
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hello Andree,
It works perfectly.
Thanks for helping me and for the quick response.
Tom
-
Excellent!
Happy to help!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!