Help with using Networkdays as a column formula

I want to create a column Formula that captures the Start Date and End Date in Networkdays but does not show the Invalid Data Type error for every unused column.
Trying to do this without using dependencies since I want more freedom with the start/end dates to be driven by the status rather than input.
I tried to use IF but can't seem to make it work.
Thank you,
Hector Arriaran
Customer Care Specialist
Vanderbilt University Medical Center
Best Answers
-
Hello @hjarriaran
Wrap your formula in IFERROR to stop the #INVALID DATA TYPE
=IFERROR(NETWORKDAYS([Start Date]@row, [End Date]@row), "")
Hope this helps
Peggy
-
I figured it out…. My column type was Duration; silly me wanted the Column Formula to work there…. I had to change it to text/number to work. Now there is no longer a 'd' next to the number of days in the Duration column. It would be nice it it would work.
Answers
-
Hello @hjarriaran
Wrap your formula in IFERROR to stop the #INVALID DATA TYPE
=IFERROR(NETWORKDAYS([Start Date]@row, [End Date]@row), "")
Hope this helps
Peggy
-
Thank you! It did.
Thank you,
Hector Arriaran
Customer Care Specialist
Vanderbilt University Medical Center
-
I got this formula to work but cannot get it to convert to Column Formula.
=IFERROR(NETWORKDAYS([Civic Start Date]@row, [Civic Completion Date]@row), "")
Any suggestions
-
I figured it out…. My column type was Duration; silly me wanted the Column Formula to work there…. I had to change it to text/number to work. Now there is no longer a 'd' next to the number of days in the Duration column. It would be nice it it would work.
-
I was out of town but yes! that pesky Duration column will prevent you from converting it to a formula column.
However! after you convert the column into a formula column. You can change the column type back to duration. That will bring back the "d" after the number. 😁
Thank you,
Hector Arriaran
Customer Care Specialist
Vanderbilt University Medical Center
-
Well that's nice (and strange). I appreciate your help!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!