Networkdays when second date is empty

I'm trying to figure out how to get the network days when the second date column is blank. It should then just be 1.
I'm going crazy trying to figure it out.
Update: I am still playing with this formula. I've realized I just need an IFBlank formula. If blank, return 1.
My formula returns #Incorrect argument set
=IF(ISBLANK([PTO Date]4, "1"))
=IF(ISBLANK([PTO Date]4, 1))
=ISBLANK([PTO Date]4, "1")
=ISBLANK([PTO Date]4, 1)
Comments
-
Realized that I do need Networkdays and if no second date field is blank, return 1.
Thanks for looking!
-
SOLVED!
=IF(AND(ISDATE([PTO Start Date]2), ISDATE([PTO end date]2)), NETWORKDAYS([PTO Start Date]2, [PTO end date]2))
I was wrong, I don't want it to return 1, I need no amount to show.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives