If date field is blank formula
Currently, I have this column formula and it works well.
=IF([Grant Status]@row = "Inactive", "", IF([End Date]@row = "", IF(TODAY() <= [Start Date]@row + 90, 3, IF(TODAY() > [Start Date]@row + 90, 4)), IF(TODAY() >= [End Date]@row - 90, 5, IF(TODAY() <= [Start Date]@row + 90, 3, IF(TODAY() > [Start Date]@row + 90, 4)))))
I need to add that if the Start Date and End Dates are blank then enter 2.5 into the column. What I am adding is not working. Can someone help with this?
Best Answer
-
Give this a try:
=IF([Grant Status]@row = "Inactive", "", IF([End Date]@row = "", IF([Start Date]@row = "", 2.5, IF(TODAY() <= [Start Date]@row + 90, 3, IF(TODAY() > [Start Date]@row + 90, 4))), IF(TODAY() >= [End Date]@row - 90, 5, IF(TODAY() <= [Start Date]@row + 90, 3, IF(TODAY() > [Start Date]@row + 90, 4)))))
Answers
-
Give this a try:
=IF([Grant Status]@row = "Inactive", "", IF([End Date]@row = "", IF([Start Date]@row = "", 2.5, IF(TODAY() <= [Start Date]@row + 90, 3, IF(TODAY() > [Start Date]@row + 90, 4))), IF(TODAY() >= [End Date]@row - 90, 5, IF(TODAY() <= [Start Date]@row + 90, 3, IF(TODAY() > [Start Date]@row + 90, 4)))))
-
That worked.
Thanks very much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 463 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!