NETDAYS #INVALID DATE TYPE
I am trying to get days between 2 dates with the following formula.
=NETDAYS([End date]3, [CR1 - Fabric yardage]3)
One of the dates came from another sheet, with formula. If I type a date on top, the formula works fine.
How could I fix it?
Thanks!!
Best Answer
-
There is the issue. The + "" on the end is converting it to a text string instead of a date value. Is there a reason for this?
Answers
-
The data coming over from the other sheet isn't coming over as a date value.
What is the formula populating the date in the other sheet? Is the column type in the other sheet a date type column? Exactly how are you pulling the data into the current sheet? If it is a formula, what is it?
-
Hi Paul, The column type is date in both sheets. I am pulling the data with Vlookup
Thanks!!
-
What is the formula populating the date in the source sheet?
-
This is the formula
=VLOOKUP(Calendar@row, {Calendar - Milestone Range 2}, 2, 0) + ""
-
There is the issue. The + "" on the end is converting it to a text string instead of a date value. Is there a reason for this?
-
that was the issue.. first the vlook up was not working correctly, so I added that! thanks a lot!!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!