How to Count Working Days Until Installation is Complete in Excel
Question details
The user needs a formula to calculate the number of elapsed working days from an initial order date until both an installation date is logged and a delivery completion status is marked as 'Yes'.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking project or order timelines where the elapsed time must be measured exclusively in business days (excluding weekends) and must dynamically update until specific completion criteria are met.
- Observed behavior
- The user requires a dynamic counter that counts working days up to the current date if the installation is incomplete, but stops and locks the final count once the installation date is entered and delivery is confirmed.
Ensure that your order and installation dates (columns Q and R) are formatted as valid Date values, and that the delivery-complete field (column AB) strictly contains the text "Yes" without any trailing spaces.
Calculate Elapsed Working Days Using IF, AND, and NETWORKDAYS
Use a nested IF function combined with NETWORKDAYS to dynamically count working days based on whether the completion criteria in the installation and delivery columns have been met.
The NETWORKDAYS function automatically calculates the number of days between two dates while excluding weekends. By nesting it inside an IF function and using the AND function to check multiple conditions, you can create a dynamic timer.
This formula will continuously update based on today's date while the order is open, and will lock the final elapsed working day count once the required delivery and installation data are entered.
Click on the cell where you want the elapsed working day count to be displayed.
Type or paste the following formula into the formula bar: =IF(Q2="","",IF(AND(R2<>"",AB2="Yes"),NETWORKDAYS(Q2,R2-1),NETWORKDAYS(Q2,TODAY())))
Press Enter to apply the formula. Then, click and drag the fill handle at the bottom right of the cell to copy the formula down to other rows in your tracking sheet.

Calculate Working Days Dynamically in WPS Spreadsheet
WPS Spreadsheet provides comprehensive support for advanced date and time functions, including NETWORKDAYS, IF, and AND. You can easily manage project timelines and calculate elapsed working days with an intuitive interface.
- 1. Open Your Tracking Sheet: Launch WPS Spreadsheet and open the document containing your order and installation data.
- 2. Insert the Formula: Select the target cell and paste the =IF(Q2="","",IF(AND(R2<>"",AB2="Yes"),NETWORKDAYS(Q2,R2-1),NETWORKDAYS(Q2,TODAY()))) formula.
- 3. Apply to All Rows: Use the fill handle to drag the formula down, instantly applying the working days calculation across all your orders.

Frequently Asked Questions
How can I exclude public holidays from the working day count?
You can add a holiday range to the NETWORKDAYS function. Create a list of holiday dates in a separate column or sheet (for example, $Z$2:$Z$10), and update your formula to include this range: NETWORKDAYS(Q2, R2-1, $Z$2:$Z$10).
Why does the formula return an error or a negative number?
This usually happens if the order date is later than the installation date, or if the cells are formatted as text instead of actual dates. Select columns Q and R, right-click, choose 'Format Cells', and ensure they are formatted as 'Date'.
Can I use this formula if my workweek is not Monday to Friday?
Yes. You will need to replace the NETWORKDAYS function with NETWORKDAYS.INTL. This variation allows you to specify exactly which days of the week should be considered weekends (for example, Friday and Saturday).




