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?
Come see me at ENGAGE 2023! I have "Happy to help 👍️" buttons!
If you can't find me roaming the floor, I will most likely be at the 10xViz Partner Booth.
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?
Come see me at ENGAGE 2023! I have "Happy to help 👍️" buttons!
If you can't find me roaming the floor, I will most likely be at the 10xViz Partner Booth.
-
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?
Come see me at ENGAGE 2023! I have "Happy to help 👍️" buttons!
If you can't find me roaming the floor, I will most likely be at the 10xViz Partner Booth.
-
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?
Come see me at ENGAGE 2023! I have "Happy to help 👍️" buttons!
If you can't find me roaming the floor, I will most likely be at the 10xViz Partner Booth.
-
that was the issue.. first the vlook up was not working correctly, so I added that! thanks a lot!!
-
Happy to help. 👍️
Come see me at ENGAGE 2023! I have "Happy to help 👍️" buttons!
If you can't find me roaming the floor, I will most likely be at the 10xViz Partner Booth.
Help Article Resources
Categories
Check out the Formula Handbook template!