How to calculate how many days an order has been open
"How long has this order been waiting?" is a subtraction: today's date minus the order date. A spreadsheet can do it on every row and redo it each morning. What takes thought is deciding when an order stops being open, whether weekends count, and what to do when the answer looks wrong.
This guide uses the order sheet from how to track customer orders in Google Sheets: an Orders tab with Order ID in column A, Order date in B, Status in G and Shipped date in H. If your columns differ, change the letters.
Decide when an order stops being open
Pick one rule and write it down, because the formula has to follow it.
- Open until delivered. The order still needs something from you until the customer has it. This guide uses this rule.
- Open until shipped. Use this if a courier takes over and delivery is out of your hands.
A cancelled order is never open, whichever rule you choose.
Count calendar days with one subtraction
Use a free column on the Orders tab. In the layout above that is K. Call it Days open and put this in K2:
=IF(OR(B2="", G2="Delivered", G2="Cancelled"), "", TODAY()-B2)
Fill it down as far as the sheet will grow. It does three things.
TODAY()-B2subtracts the order date from today's date. The result is a number of days.OR(...)lists the cases that should show nothing: a row with no order date, a delivered order and a cancelled one.IFshows a blank in those cases and the count in all others.
Here are six orders, read on Saturday 28 November 2026 (some columns left out to fit):
| Order ID | Order date | Status | Shipped date | Days open |
|---|---|---|---|---|
| ORD-1001 | 2026-11-05 | Delivered | 2026-11-08 | |
| ORD-1002 | 2026-11-10 | Delivered | 2026-11-12 | |
| ORD-1003 | 2026-11-12 | Cancelled | ||
| ORD-1004 | 2026-11-15 | Shipped | 2026-11-18 | 13 |
| ORD-1005 | 2026-11-18 | Packed | 10 | |
| ORD-1006 | 2026-11-24 | New | 4 |
ORD-1004 was placed on the 15th, so 28 − 15 = 13. It has shipped, but under the "open until delivered" rule it is still counting.
There is also a function for this. Google's DAYS page gives the syntax as DAYS(end_date, start_date), with the end date first, so DAYS(TODAY(), B2) returns the same 13. Use whichever you find easier to read.
Count working days only
If you are closed at weekends, an order placed on Friday afternoon looks three days old on Monday morning, although you have had it for one working day. NETWORKDAYS counts only working days:
=IF(OR(B2="", G2="Delivered", G2="Cancelled"), "", NETWORKDAYS(B2, TODAY()))
Google's NETWORKDAYS page says the function treats Saturday and Sunday as the weekend. The count includes the order date and today when they are working days. So an order placed on a Monday shows 1 that same Monday, where the subtraction shows 0.
| Order ID | Order date | Calendar days | Working days |
|---|---|---|---|
| ORD-1004 | Sunday 15 November | 13 | 10 |
| ORD-1005 | Wednesday 18 November | 10 | 8 |
| ORD-1006 | Tuesday 24 November | 4 | 4 |
For ORD-1005, the working days are the 18th, 19th and 20th, then Monday the 23rd to Friday the 27th: 3 + 5 = 8. Today, the 28th, is a Saturday and is not counted.
Days you were closed. NETWORKDAYS takes a third input, a list of holidays. Add a tab called Holidays, type the dates you are closed in column A from row 2 down, and change the last part of the formula to:
NETWORKDAYS(B2, TODAY(), Holidays!$A$2:$A$30)
If you were closed on Thursday 26 November, the three counts become 9, 7 and 3.
A different weekend. If you work Saturdays, or your weekend is Friday and Saturday, use NETWORKDAYS.INTL. It takes a weekend code before the holidays. Google's NETWORKDAYS.INTL page lists them: 1 is Saturday and Sunday, 7 is Friday and Saturday, and 11 means Sunday is the only day off. With NETWORKDAYS.INTL(B2, TODAY(), 11), ORD-1005 shows 10, because the two Saturdays now count.
Record how long each order took to ship
Days open is a live number. It changes daily and disappears when the order is delivered, so it cannot tell you later how quickly you worked. For that, add a second column that stops moving once the order has left. In L2, Days to ship:
=IF(H2="", "", H2-B2)
It is blank until a shipped date is entered and fixed after that.
| Order ID | Order date | Shipped date | Days to ship |
|---|---|---|---|
| ORD-1001 | 2026-11-05 | 2026-11-08 | 3 |
| ORD-1002 | 2026-11-10 | 2026-11-12 | 2 |
| ORD-1004 | 2026-11-15 | 2026-11-18 | 3 |
On a summary tab, =AVERAGE(Orders!L2:L) gives your average: (3 + 2 + 3) ÷ 3 = 2.67 days, rounded. The blank rows are not included. This is the number to quote when a customer asks how long an order usually takes.
Count orders by age
Single rows tell you which order to chase. Counts tell you whether the queue is growing. On a summary tab:
| Label | Formula | Result here |
|---|---|---|
| Open 7 days or less | =COUNTIFS(Orders!K:K, ">=0", Orders!K:K, "<=7") |
1 |
| Open 8 to 14 days | =COUNTIFS(Orders!K:K, ">7", Orders!K:K, "<=14") |
2 |
| Open more than 14 days | =COUNTIF(Orders!K:K, ">14") |
0 |
ORD-1006 at 4 days is in the first band. ORD-1004 at 13 and ORD-1005 at 10 are in the second. The three results add up to 3, the number of rows with a figure in Days open. If they do not, a row has a negative number, which the next section covers.
Fix the count when it looks wrong
The number is different from yesterday. That is correct. Google's TODAY page says TODAY always represents the current date the last time the spreadsheet was recalculated. It does not stay at the date when you entered the formula.
The count is one day out early or late in the day. The sheet may be set to another time zone, so its "today" changes at a different hour from yours. Choose File > Settings, and under General check Time zone. Google's page on location and calculation settings shows the steps.
The cell shows #VALUE!. The order date is text, not a date, so there is nothing to subtract. Type =ISNUMBER(B2) in an empty cell to test it. A real date gives TRUE, text gives FALSE. A common cause is a date typed day first, such as 15/11/2026, in a sheet set to a region that writes the month first. The Locale menu is in the same File > Settings box. Set it to your region, then type the date again.
The number is negative. The order date is in the future. Look for a wrong year or a swapped day and month.
Keep the number honest
- Enter the order date when the order is taken. A row added three days late starts three days short.
- Change the status on the day it changes. A delivered order still marked Shipped keeps counting and ends up at the top of your late list.
- Do not type over the formula. If a number looks wrong, fix the date or the status, not the cell.
Once orders are delivered, what matters next is how long payment takes. How to see which orders are unpaid in a spreadsheet counts those days from the shipped date.
Where BoltSheets fits
Everything above works in a plain Google Sheet. The BoltSheets order tracker template already has a Days open column with the calendar-day formula from this guide. It does not have working days, a Holidays tab or Days to ship, so those are yours to add. In the demo you can ask "which orders have been open for more than 7 days?" in words. Days open is a formula cell, and BoltSheets never writes to formula cells. A status change is shown as a preview and is written only when a person confirms it. BoltSheets is in early access and works with Google Sheets only.
Common questions
Should the day the order was placed count as day one?
With =TODAY()-B2 an order placed today shows 0 and an order placed yesterday shows 1. If your team thinks of the first day as day one, add 1 to the formula. NETWORKDAYS already counts the order day when it is a working day, so leave that one as it is.
How do I stop the count when an order ships, not when it is delivered?
Add the status to the list inside OR, so the formula reads OR(B2="", G2="Shipped", G2="Delivered", G2="Cancelled"). The cell then goes blank as soon as the status changes to Shipped.
Can I colour the orders that have been open too long?
Yes, with a conditional formatting rule that uses a custom formula such as =AND(ISNUMBER($K2), $K2>7). The steps are in our guide to unpaid orders, where the same kind of rule highlights late payments.
Can I type the number of days in by hand?
You can, but it is out of date the next morning. A typed 5 stays 5 for good. The formula reads today's date each time the sheet recalculates, so nobody has to update it.