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
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!