How to see which orders are unpaid in a spreadsheet

· 6 min read

A total of what you are owed tells you there is a problem. It does not tell you whom to ring. For that you need the orders themselves: which ones, whose, how much, and how long each has been waiting.

This guide adds that list to an order sheet. It uses the layout from how to track customer orders in Google Sheets: an Orders tab with Order ID in column A, Order date in B, Customer in C, Status in G, Shipped date in H, Payment status in I and Amount in J, plus a Customers tab with one row per customer. If your columns differ, change the letters.

Decide what counts as unpaid

Two rules keep the list honest.

  • A cancelled order is not a debt. It is usually still marked Unpaid, because nobody paid for it. Every formula below leaves cancelled rows out.
  • An order you have not sent yet is unpaid, but nobody is late. Keep it on the list so you can see it, and count the waiting days only from the day the goods left.

Payment status must hold exactly two words, Unpaid and Paid, chosen from a dropdown. A formula looking for "Unpaid" will not find "not paid" or "pending".

Count the days each order has waited

On the Orders tab, use the next free column. In this layout that is L. Call it Days unpaid and put this in L2:

=IF(OR(H2="", I2<>"Unpaid", G2="Cancelled"), "", TODAY()-H2)

Fill it down. It stays blank if the order has not shipped, is not Unpaid, or was cancelled. Otherwise it shows the days since the shipped date.

Here are six orders, read on 27 November 2026 (some columns left out to fit):

Order ID Customer Status Shipped date Payment status Amount Days unpaid
ORD-1001 Cafe Lotus Delivered 2026-11-08 Paid 1,350
ORD-1002 Hill Stores Delivered 2026-11-12 Unpaid 720 15
ORD-1003 Corner Bakery Cancelled Unpaid 420
ORD-1004 Cafe Lotus Shipped 2026-11-18 Unpaid 1,120 9
ORD-1005 Hill Stores Packed Unpaid 540
ORD-1006 Corner Bakery New Paid 300

ORD-1002 left on the 12th, so 27 − 12 = 15 days. ORD-1005 is unpaid but still on your shelf, so it has no number yet.

Build a list that updates itself

Add a tab called Unpaid. Type these headers in row 1: Order ID, Order date, Customer, Amount, Days unpaid. Then put one formula in A2:

=IFERROR(SORT(CHOOSECOLS(FILTER(Orders!A2:L, Orders!I2:I="Unpaid", Orders!G2:G<>"Cancelled"), 1, 2, 3, 10, 12), 2, TRUE), "No unpaid orders")

Read it from the inside out.

  1. FILTER keeps the rows of Orders where Payment status is Unpaid and Status is not Cancelled. A row has to pass both tests.
  2. CHOOSECOLS keeps five of the twelve columns: 1 (Order ID), 2 (Order date), 3 (Customer), 10 (Amount) and 12 (Days unpaid).
  3. SORT orders what is left by its second column, the order date, oldest first.
  4. IFERROR handles the good day. When nothing is unpaid, FILTER returns an error, and this shows "No unpaid orders" in its place.

The result fills the cells below and to the right by itself:

Order ID Order date Customer Amount Days unpaid
ORD-1002 2026-11-10 Hill Stores 720 15
ORD-1004 2026-11-15 Cafe Lotus 1,120 9
ORD-1005 2026-11-18 Hill Stores 540

The cancelled soup bowls and the two paid orders are gone. If the Order date column shows a number such as 46336 where you expect a date, select the column and choose Format > Number > Date.

Google's help pages give the syntax for FILTER, CHOOSECOLS and SORT. The FILTER page states two things worth knowing: each condition must be exactly as long as the range, which is why all three ranges here start at row 2 and run to the bottom, and when no rows match the function returns #N/A.

Do not type anything in the area the list fills. It needs those cells empty to show its rows.

Total what each customer owes

A list by order is for chasing. A total by customer is for deciding whom to chase first, and whether to take their next order.

On the Customers tab, use the next free column. If Customer is in A, Phone in B and City in C, that is D. Call it Owed and put this in D2:

=SUMIFS(Orders!J:J, Orders!C:C, A2, Orders!I:I, "Unpaid", Orders!G:G, "<>Cancelled")

Fill it down. It adds Amount for the rows that belong to this customer, are Unpaid and are not Cancelled.

Customer Owed
Cafe Lotus 1,120
Hill Stores 1,260
Corner Bakery 0

Hill Stores owes 720 + 540 = 1,260. Corner Bakery owes nothing: one order was cancelled and the other is paid. The three figures add up to 2,380, the same unpaid total the order sheet gives without the customer condition. If they ever disagree, an order has a customer name that is not on the Customers tab.

Two more figures are worth a cell each on any summary tab.

  1. Owed for goods already sent: =SUMIFS(Orders!J:J, Orders!I:I, "Unpaid", Orders!G:G, "Shipped")+SUMIFS(Orders!J:J, Orders!I:I, "Unpaid", Orders!G:G, "Delivered")

    That is 1,120 + 720 = 1,840. The other 540 of the 2,380 is for the red mugs that are packed but have not left.

  2. Longest wait in days: =MAX(Orders!L:L)

    Here it is 15.

Google's SUMIFS reference covers the syntax.

Highlight orders that are past your terms

Pick the number of days after which you chase. This example uses 14. Use your own terms.

  1. On the Orders tab, select the data from A2 down to the last column and row you use, for example A2:L1000.
  2. Choose Format > Conditional formatting.
  3. Under Format cells if, choose Custom formula is.
  4. Enter =AND(ISNUMBER($L2), $L2>14)
  5. Pick a fill colour and click Done.

The dollar sign before L makes every cell in a row look at that row's Days unpaid, so the whole row is coloured. The ISNUMBER part makes the rule skip rows where Days unpaid is blank. With the six orders above, only ORD-1002 at 15 days is highlighted. ORD-1004 at 9 days is not, yet.

Google's page on conditional formatting has an example of formatting an entire row this way.

Keep the list true

The list is only as good as the Payment status column.

  • Mark an order Paid on the day the money arrives, not at month end. Until then the list is asking you to chase someone who has paid.
  • Fill in Shipped date when the goods leave. Without it the order never starts counting days.
  • Do not delete paid rows. The list hides them for you, and the history stays whole.
  • Agree who marks orders paid. If several people edit the sheet, the habits in stop people overwriting each other in a shared stock sheet apply here too.

Where BoltSheets fits

Everything above works in a plain Google Sheet. The BoltSheets order tracker template has the same Orders tab with a Payment status column. It does not have the Days unpaid column, the Unpaid tab or the Owed column, so those are yours to add. In the demo you can ask "how much is unpaid right now?", which leaves cancelled orders out, and you can mark an order paid. The change is shown as a preview and nothing is written until a person confirms it. Formula cells are never written to. BoltSheets is in early access and works with Google Sheets only.

Common questions

Can I mark an order paid from the Unpaid tab?

No. The list is the result of one formula, so there is nothing to edit there. If you type into it, the whole list disappears until you delete what you typed. Change Payment status on the Orders tab and the order leaves the list by itself.

What if a customer pays part of an order?

Add an Amount paid column next to Amount and a Balance column that is Amount minus Amount paid. Leave the order Unpaid until the balance reaches zero, and point the SUMIFS formulas at Balance so they add up what is still owed.

Should the days be counted from the order date or the shipped date?

Count from the day your payment terms start. This guide uses the shipped date because most small sellers expect payment after the goods leave. If you ask for payment within a number of days of the order, use the order date in the formula.

Does this work in Excel?

SUMIFS, MAX and the Days unpaid formula work as written. Newer versions of Excel have FILTER and CHOOSECOLS, but Excel's FILTER takes a single condition, so two conditions are multiplied together inside brackets. Microsoft's FILTER page shows the pattern.