Formula Help - if cell = X then show network days

I hope my explanation makes sense.
I currently have a basic formula that shows "networkdays" between 2 dates, however it obviously shows "invalid date type" when the "end date" has not been entered
=NETWORKDAYS([Date Open]@row, [Actual Closure Date]@row)
. So we want the cell to show "duration to close" when status is "closed" and there are start/end dates. But when status is "open" we want it to show how many days it has been open.
I tried to do it in separate columns (for ease) since I was struggling, but I can't get anything to work. As a separate column for "days open I have
=IF(CONTAINS("Open", [Issue Status]@row, NETWORKDAYS([Date Open]@row, TODAY())))
Of course if there is a way to combine the two in one formula that would be great.
Thanks in advance for any help.
Jacque Smith
Project Controls, MSR-FSR
Best Answer
-
Give this a try:
=IF([Date Closed]@row <> "", NETWORKDAY([Date Open]@row, [Date Closed]@row), NETWORKDAY([Date Open]@row, TODAY(0)))
Answers
-
Give this a try:
=IF([Date Closed]@row <> "", NETWORKDAY([Date Open]@row, [Date Closed]@row), NETWORKDAY([Date Open]@row, TODAY(0)))
-
@Laurie Olson you are a life-saver that worked perfectly!! Thank you so much.
Jacque Smith
Project Controls, MSR-FSR
-
You're welcome, Jacque!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!