Having trouble with IF and ISBLANK formula
I need help using the ISBLANK formula. I want to return a value of average months between two dates the Closing Date and Reported Date. But when there is no Closing Date I want the system to use the TODAY function and then calculate. But when I try to add in the ISBLANK function I keep getting a syntax error so I know I'm close but missing something.
Here is my simple formula =([Closing Date]@row - [Reported Date]@row) / 30
Here is what I was trying to use but get syntax errors: =IF(ISBLANK([Closing Date]@row), TODAY,[[Closing Date]@row - [Reported Date]@row) / 30]
Best Answer
-
Hey @Scott Peloquin,
Use ISDATE instead of ISBLANK.
=IF(ISDATE([Closing Date]@row), ([Closing Date]@row - [Reported Date]@row) / 30, (TODAY() - [Reported Date]@row) / 30)
Answers
-
Hey @Scott Peloquin,
Use ISDATE instead of ISBLANK.
=IF(ISDATE([Closing Date]@row), ([Closing Date]@row - [Reported Date]@row) / 30, (TODAY() - [Reported Date]@row) / 30)
-
Oh awesome. I missed that. Thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 405 Global Discussions
- 216 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!