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
- 10.7K Get Help
- 63 Global Discussions
- 68 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!