Count elapsed days a work order has been open based on different cells criteria

jcth81

New Member
Joined
Apr 3, 2019
Messages
7
Greetings; I have an equipment repair work order (WO) spreadsheet that counts the running elapsed days that a WO has been open, based on cell with WO open date and todays date. I am using =NETWORKDAYS(F2,TODAY()) which seems to works fine;

...however if the spreadsheet now has a cell with a WO closed date, and a cell with WO status is there a solution that can count days differently between open date and closed date cells if WO status cell = closed? A status cell = open, would count days as initially set up...

Basically an open WO means we want to track how many days its open, as an important metric. But once a WO is closed, we don't want continuing tracking with a running total, but instead just a final total of WO days open between the open date and closed date.

... or any suggestions

Thank you
 

Attachments

  • Screenshot 2021-02-24 185030.png
    Screenshot 2021-02-24 185030.png
    23.1 KB · Views: 8

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi,

Try this:

Book3.xlsx
EFG
1WO OpenWO ClosedWorkdays Elapsed
21/1/202139
31/15/20212/23/202128
Sheet796
Cell Formulas
RangeFormula
G2:G3G2=NETWORKDAYS(E2,IF(F2="",TODAY(),F2))
 
Upvote 0
Hi,

Try this:

Book3.xlsx
EFG
1WO OpenWO ClosedWorkdays Elapsed
21/1/202139
31/15/20212/23/202128
Sheet796
Cell Formulas
RangeFormula
G2:G3G2=NETWORKDAYS(E2,IF(F2="",TODAY(),F2))
works great... but could use one last bit of help on this to ignore blank cells? Thank you
 
Upvote 0
It's been awhile...

Just add a test for Blank:

Book3.xlsx
EFG
1WO OpenWO ClosedWorkdays Elapsed
21/1/202153
31/15/20212/23/202128
4 
Sheet796
Cell Formulas
RangeFormula
G2:G4G2=IF(E2="","",NETWORKDAYS(E2,IF(F2="",TODAY(),F2)))
 
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,968
Messages
6,122,506
Members
449,089
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top