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
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!