How can I create a NETWORKDAYS formula that results in a blank field until an End Date is specified?
I need a column to show =NETWORKDAYS(([Start Date]@row), ([End Date]@row)), but currently the rows where End Date is blank are returning #INVALID DATA TYPE in my formula field.
I would like it remain blank until an End Date value is entered.
=IF(NOT(ISBLANK([End Date]@row)), "Not Blank", "") returns the expected result.
=IF(NOT(ISBLANK([End Date]@row)), NETWORKDAYS(([Start Date]@row), ([End Date]@row)), "") returns a column formula syntax error.
Can anyone tell me what I'm doing wrong?
Best Answer
-
Use this
=IF(NOT(ISBLANK([End Date]@row)), NETWORKDAY([Start Date]@row, [End Date]@row), "")
Answers
-
Use this
=IF(NOT(ISBLANK([End Date]@row)), NETWORKDAY([Start Date]@row, [End Date]@row), "")
-
Thank you, @Antonio Figueroa!
-
Thank you @Antonio Figueroa
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!