Pro workbook: Orders, Items, Suppliers, Monthly, Setup, Formulas. Sample data, real formulas.
| Purchase orders | |||||||||||||||
| One row per PO. Days, the Late flag and the summary are calculated; the amount comes from the Items sheet. | |||||||||||||||
| As of | 14 Sep | Open POs | 4 | ||||||||||||
| Open value | 3,572.00 | ||||||||||||||
| Late | 2 | ||||||||||||||
| Received this month | 356.00 | ||||||||||||||
| PO | Date | Supplier | What | Amount | Status | Expected | Received on | Paid | Days | Flag | Lines | Outstanding qty | Ordered this year | 8,565.50 | |
| PO-1041 | 8 Jan | Northwind Paper | A4 stock, Q1 | 430.00 | Received | 15 Jan | 14 Jan | ✓ | 6 | 1 | Received, not paid | 532.00 | |||
| PO-1042 | 20 Jan | Cadence Office | Desk lamps ×6 | 228.00 | Received | 3 Feb | 6 Feb | ✓ | 17 | 1 | Avg lead time, days | 11.5 | |||
| PO-1043 | 11 Feb | Fathom Electronics | Label printers ×2 | 442.00 | Received | 25 Feb | 24 Feb | ✓ | 13 | 2 | |||||
| PO-1044 | 2 Mar | Lumen Packaging | Mailer boxes, 500 | 310.00 | Received | 12 Mar | 12 Mar | ✓ | 10 | 1 | |||||
| PO-1045 | 18 Mar | Bright Print | Spring catalogue | 1,700.00 | Received | 1 Apr | 8 Apr | ✓ | 21 | 1 | |||||
| PO-1046 | 6 Apr | Northwind Paper | A4 stock, Q2 | 430.00 | Received | 13 Apr | 13 Apr | ✓ | 7 | 1 | |||||
| PO-1047 | 22 Apr | Cadence Office | Chairs ×4 | 840.00 | Cancelled | 20 May | 1 | ||||||||
| PO-1048 | 5 May | Lumen Packaging | Tape and void fill | 162.00 | Received | 12 May | 11 May | ✓ | 6 | 2 | |||||
| PO-1049 | 1 Jun | Fathom Electronics | Barcode scanners ×3 | 222.00 | Received | 15 Jun | 19 Jun | ✓ | 18 | 1 | |||||
| PO-1050 | 24 Jun | Bright Print | Business cards | 176.00 | Received | 3 Jul | 2 Jul | 8 | 1 | ||||||
| PO-1051 | 7 Jul | Northwind Paper | A4 stock, Q3 | 537.50 | Received | 14 Jul | 14 Jul | ✓ | 7 | 1 | |||||
| PO-1052 | 28 Jul | Lumen Packaging | Mailer boxes, 1000 | 768.00 | Part received | 11 Aug | 48 | Late | 2 | 600 | |||||
| PO-1053 | 12 Aug | Cadence Office | Monitor arms ×5 | 230.00 | Ordered | 30 Aug | 33 | Late | 1 | 5 | |||||
| PO-1054 | 26 Aug | Fathom Electronics | Router and switches | 356.00 | Received | 9 Sep | 8 Sep | 13 | 2 | ||||||
| PO-1055 | 3 Sep | Bright Print | Autumn catalogue | 2,450.00 | Ordered | 24 Sep | 11 | 1 | 2500 | ||||||
| PO-1056 | 10 Sep | Northwind Paper | Envelopes | 124.00 | Ordered | 17 Sep | 4 | Due this week | 1 | 4 | |||||
| Line items | |||||||||||
| One row per line on a PO. The PO's amount on Orders is the sum of its lines. | |||||||||||
| Lines | 20 | ||||||||||
| Still to arrive, lines | 5 | ||||||||||
| Still to arrive, value | 3,224.00 | ||||||||||
| PO | Item | Qty | Unit price | Line total | Received qty | Outstanding | Supplier | Status | |||
| PO-1041 | A4 80gsm, box of 5 reams | 20 | 21.50 | 430.00 | 20 | Northwind Paper | Received | ||||
| PO-1042 | LED desk lamp | 6 | 38.00 | 228.00 | 6 | Cadence Office | Received | ||||
| PO-1043 | Label printer LP-300 | 2 | 189.00 | 378.00 | 2 | Fathom Electronics | Received | ||||
| PO-1043 | Label rolls | 10 | 6.40 | 64.00 | 10 | Fathom Electronics | Received | ||||
| PO-1044 | Mailer box 30×20×10 | 500 | 0.62 | 310.00 | 500 | Lumen Packaging | Received | ||||
| PO-1045 | Catalogue, 24 pp | 2000 | 0.85 | 1,700.00 | 2000 | Bright Print | Received | ||||
| PO-1046 | A4 80gsm, box of 5 reams | 20 | 21.50 | 430.00 | 20 | Northwind Paper | Received | ||||
| PO-1047 | Task chair | 4 | 210.00 | 840.00 | 0 | 4 | Cadence Office | Cancelled | |||
| PO-1048 | Packing tape, 36 rolls | 3 | 28.00 | 84.00 | 3 | Lumen Packaging | Received | ||||
| PO-1048 | Void fill, 10 kg | 4 | 19.50 | 78.00 | 4 | Lumen Packaging | Received | ||||
| PO-1049 | Barcode scanner BS-2 | 3 | 74.00 | 222.00 | 3 | Fathom Electronics | Received | ||||
| PO-1050 | Business cards, 500 | 8 | 22.00 | 176.00 | 8 | Bright Print | Received | ||||
| PO-1051 | A4 80gsm, box of 5 reams | 25 | 21.50 | 537.50 | 25 | Northwind Paper | Received | ||||
| PO-1052 | Mailer box 30×20×10 | 1000 | 0.58 | 580.00 | 600 | 400 | Lumen Packaging | Part received | |||
| PO-1052 | Mailer box 40×30×15 | 200 | 0.94 | 188.00 | 0 | 200 | Lumen Packaging | Part received | |||
| PO-1053 | Monitor arm, single | 5 | 46.00 | 230.00 | 0 | 5 | Cadence Office | Ordered | |||
| PO-1054 | Router R-900 | 1 | 240.00 | 240.00 | 1 | Fathom Electronics | Received | ||||
| PO-1054 | 8-port switch | 2 | 58.00 | 116.00 | 2 | Fathom Electronics | Received | ||||
| PO-1055 | Catalogue, 32 pp | 2500 | 0.98 | 2,450.00 | 0 | 2500 | Bright Print | Ordered | |||
| PO-1056 | DL envelopes, 1000 | 4 | 31.00 | 124.00 | 0 | 4 | Northwind Paper | Ordered | |||
| By supplier | |||||||||
| POs, spend this year, what's open, how long they take, how often they're late. | |||||||||
| Supplier | POs | Spend this year | Open value | Avg lead time | Late now | Share | Biggest supplier | Bright Print | |
| Northwind Paper | 4 | 1,521.50 | 124.00 | 6.7 | 18% | Slowest, days | 17.0 | ||
| Fathom Electronics | 3 | 1,020.00 | 14.7 | 12% | |||||
| Lumen Packaging | 3 | 1,240.00 | 768.00 | 8.0 | 1 | 14% | |||
| Cadence Office | 2 | 458.00 | 230.00 | 17.0 | 1 | 5% | |||
| Bright Print | 3 | 4,326.00 | 2,450.00 | 14.5 | 51% | ||||
| All | 15 | 8,565.50 | 3,572.00 | 2 | |||||
| Avg lead time averages the Days column of received POs — order date to received date. Late now counts open POs past their expected date. |
| Month by month | ||||
| What was ordered and what arrived, twelve months from the first month on Setup. | ||||
| Month | POs raised | Ordered | Received | Still open from this month |
| Jan 2026 | 2 | 658.00 | 430.00 | |
| Feb 2026 | 1 | 442.00 | 670.00 | |
| Mar 2026 | 2 | 2,010.00 | 310.00 | |
| Apr 2026 | 1 | 430.00 | 2,130.00 | |
| May 2026 | 1 | 162.00 | 162.00 | |
| Jun 2026 | 2 | 398.00 | 222.00 | |
| Jul 2026 | 2 | 1,305.50 | 713.50 | 768.00 |
| Aug 2026 | 2 | 586.00 | 230.00 | |
| Sep 2026 | 2 | 2,574.00 | 356.00 | 2,574.00 |
| Oct 2026 | ||||
| Nov 2026 | ||||
| Dec 2026 | ||||
| Year | 15 | 8,565.50 | 4,993.50 | 3,572.00 |
| Ordered is by PO date, Received by received date — so a PO raised in one month and delivered the next appears in both columns, once each. |
| Setup | |||
| The as-of date, the first month of the Monthly view, and the lists. | |||
| As of | 2026-09-14 | Type =TODAY() to keep it live | |
| Monthly view starts | Jan 2026 | ||
| Status | Suppliers | ||
| Ordered | Northwind Paper | ||
| Part received | Fathom Electronics | ||
| Received | Lumen Packaging | ||
| Cancelled | Cadence Office | ||
| Bright Print | |||
| The formulas are written for these four status names — keep them. The PO list for Items comes straight from Orders. |
| How the formulas work | ||
| Every formula in this workbook, in plain words. Nothing is hidden and nothing needs a macro. Formulas are shown without the leading = sign. | ||
| Where | Formula | What it does |
| Orders · Amount | SUMIF(Items!$A$8:$A$307,A8,Items!$E$8:$E$307) | The PO's line totals on Items, added up. |
| Orders · Days | IF(H8<>"",H8-B8,IF(F8="Cancelled",0,$B$3-B8)) | Received: the lead time. Open: days since the order. Cancelled: nothing. |
| Orders · Flag | IF(OR(F8="Received",F8="Cancelled"),"",IF(AND(G8<>"",G8<$B$3),"Late",IF(AND(G8<>"",G8<=$B$3+7),"Due this week",""))) | Only open POs get a flag, against the expected date. |
| Orders · Open value | SUMIF(F8:F87,"Ordered",E8:E87)+SUMIF(F8:F87,"Part received",E8:E87) | Two statuses count as open; adding two SUMIFs is the portable OR. |
| Orders · Received, not paid | SUMIFS(E8:E87,F8:F87,"Received")-SUMIFS(E8:E87,F8:F87,"Received",I8:I87,"✓") | Received minus received-and-ticked. |
| Orders · Avg lead time | AVERAGEIFS(J8:J87,F8:F87,"Received") | Average of Days over received POs. IFERROR wraps it for an empty sheet. |
| Items · Outstanding | MAX(0,C8-F8) | Ordered quantity minus received, never negative. |
| Items · Still to arrive, value | SUMPRODUCT((I8:I307<>"Cancelled")*G8:G307*D8:D307) | Outstanding × unit price across every line, skipping cancelled POs — one SUMPRODUCT instead of a helper column. |
| Suppliers · Spend this year | SUMIFS(Orders!$E$8:$E$87,Orders!$C$8:$C$87,A5,Orders!$F$8:$F$87,"<>Cancelled",Orders!$B$8:$B$87,">="&DATE(YEAR(Setup!$B$3),1,1),Orders!$B$8:$B$87,"<="&Setup!$B$3) | By supplier, not cancelled, dated this year up to 'as of'. |
| Monthly · Received | SUMIFS(Orders!$E$8:$E$87,Orders!$H$8:$H$87,">="&A5,Orders!$H$8:$H$87,"<="&EDATE(A5,1)-1) | PO amounts whose received date falls in the month. |