#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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!