#Invalid Data Type
Hi There
I am using the below formula to check a box if a date is one day greater than today. The formula works fine except if the date field is blank, then it is showing up #Invalid Data Type.
How can the results show up as blank instead of #Invalid Data Type if there is no date referenced yet?
=IF(NETDAYS([Date to archive record]@row, TODAY()) > 1, 1, 0)
Any help is appreciated. Thanks!
Best Answer
-
Hi Kate123,
You can use IFERROR as below to achieve what you mentioned.
=IFERROR(IF(NETDAYS([Date to archive record]@row, TODAY()) > 1, 1, 0)," ")
I hope it will work.
Thank you
Anjanesh Vaidya
Thanks,
Anjanesh Vaidya
Smartsheet Development, Ignatiuz Software
Did this answer help you? Show some love by marking this answer as "Insightful💡" or "Awesome❤️" and "Vote Up⬆️
Answers
-
Hi Kate123,
You can use IFERROR as below to achieve what you mentioned.
=IFERROR(IF(NETDAYS([Date to archive record]@row, TODAY()) > 1, 1, 0)," ")
I hope it will work.
Thank you
Anjanesh Vaidya
Thanks,
Anjanesh Vaidya
Smartsheet Development, Ignatiuz Software
Did this answer help you? Show some love by marking this answer as "Insightful💡" or "Awesome❤️" and "Vote Up⬆️
-
This works perfectly - thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!