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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!