Day counter function
Hello,
I am trying to set up a day counter eg from day of arrival to today. I set up the formula =NETDAYS([Delivery Date]@row, TODAY()), but I keep getting #invalid data type. What do I need to change?
Answers
-
Please verify that the column that you're placing the formula in is a Text/Number column. This formula will return a number so you cannot be in a date column. Also, if your [Delivery Date] does not contain a date, you'll receive the error. You could set up a check to validate the [Delivery Date].
=If ISDATE([Delivery Date]@row, NETDAYS([Delivery Date]@row, TODAY()))
Do either of these suggestions solve your issue?
-
@KDM thank you!
My delivery date column was set to Text/Number, changed it to Date and it worked.
Thanks once again!
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!