Articles

How to Build a Spend Cube in Excel: GL Reconciliation, Normalization, and UNSPSC

Step-by-step guide to reconciling AP, P-card, and T&E feeds to the general ledger, collapsing duplicate vendors to corporate parents, and classifying spend in Excel.

You do not need a six-figure software rollout to build an auditable spend cube. For any mid-market company processing up to 250,000 annual invoice lines, a reconciled Excel star-schema spend cube ties ERP accounts payable, P-cards, and T&E feeds to the general ledger, collapses duplicate vendors to corporate parents, and classifies spend under UNSPSC in under two weeks.

Worked in full in The Spend Analysis Handbook by Julian R. Sterling, with every figure reproduced in live Excel workbooks.Get the DRM-free PDF, $19.99 →

Step 1: Extract All Three Payment Channels and Reconcile to the GL

Most first-time spend analyses fail because analysts pull only ERP purchase orders, missing off-PO invoices, corporate purchasing cards, and employee travel reimbursements. In The Spend Analysis Handbook, every formula and control is worked on one fictional U.S. mid-market manufacturer, Kestrel Precision Manufacturing, Inc. ($120,000,000 revenue, three plants).

Kestrel extracted twelve months of Fiscal 2025 third-party disbursements totaling $68,400,000 (57.0 percent of revenue): $62,100,000 in posted ERP accounts payable invoices (including negative credit memos), $3,900,000 in Level-3 P-card merchant transactions, and $2,400,000 in T&E merchant detail (stripping out lump-sum card-issuer and employee reimbursement headers from AP so nothing was double-counted).

Next, Procurement and the Corporate Controller signed off on $8,400,000 in non-addressable exclusions: $2,600,000 in statutory taxes and permits, $2,400,000 in payroll benefits pass-throughs, $1,500,000 in regulated utilities, and $1,900,000 in capitalized lease obligations under FASB ASC Topic 842 (including embedded leases inside logistics contracts). Subtracting exclusions locked Kestrel's $60,000,000 addressable spend baseline (50.0 percent of revenue), reconciled to $0.00 against the general ledger across ASC 330 inventory and freight-in timing bridges.

Step 2: Normalize Suppliers to Ultimate Corporate Parents

Raw ERP vendor masters rot quickly as plants open duplicate vendor IDs for regional lockboxes and acquired divisions. Kestrel's raw extract held 1,840 vendor records. Running a five-pass normalization protocol (exact EIN match, ACH bank-account match, text stripping plus fuzzy matching, and parent-child corporate linkage) merged 420 duplicates and subsidiaries (22.8 percent bloat) down to 1,420 unique parent suppliers before a single negotiation began.

At the same time, Accounts Payable locked the front door with mandatory IRS Form W-9 collection for all U.S. vendors, IRS TIN Matching for Form 1099-reportable payees (preventing CP2100 B-Notices and 24 percent backup withholding), OFAC SDN sanctions screening, and out-of-band phone callbacks on all bank changes.

Step 3: Classify Spend Using a Five-Tier UNSPSC Waterfall

Financial general ledger accounts cannot drive category sourcing because a single account like "Plant Supplies" mixes cutting tools, safety gear, and janitorial chemicals. Anchor a clean three-level executive category tree to the 8-digit, four-level UNSPSC standard (Segment, Family, Class, Commodity, administered directly by UNDP as of 2025) and run a five-tier classification waterfall:

  1. Tier 1 - ERP Item Master: Direct BOM part numbers classify automatically (100 percent of Kestrel's $38,400,000 direct spend).
  2. Tier 2 - Single-Category Vendors: Map freight carriers, law firms, and single-line suppliers directly.
  3. Tier 3 - Multi-Category Vendor + GL Rules: Combine broadline distributor ID with GL account and cost center.
  4. Tier 4 - Keyword & MCC Rules: Match line descriptions and card merchant category codes.
  5. Tier 5 - 80/20 Manual Review: Review largest remaining lines until unclassified spend drops below 1.0 percent (Kestrel cut unclassified spend from $11,400,000, or 19.0 percent, down to $480,000, or 0.8 percent).

Step 4: Assemble the Three-Dimensional Star Schema in Excel

Structure your workbook around one transaction fact table linked to three lookup dimensions: Who bought it (plant, cost center), What was bought (Direct/Indirect, Level-1 to Level-3, UNSPSC), and From Whom (normalized parent, contract flag, payment terms), plus PO date, invoice date, and extended USD spend.

Kestrel Spend Cube DimensionFY2025 BaselineFY2026 Q4 After State
Locked Addressable Spend$60,000,000 (64.0% Direct)$60,000,000 (GL Reconciled)
Classified Spend Coverage81.0 percent ($11.4M unclass)99.2 percent ($480k unclass)
Normalized Parent Suppliers1,420 (from 1,840 raw)880 (-540 / -38.0 percent)
Realized Hard P&L Savings$0$2,460,000 / yr (4.10 percent)

To skip the blank spreadsheet and drop your own vendor spend straight into a pre-built star schema with a dynamic Controls tab, download the free Spend Analysis Cube Template. Then explore how to turn your cube into hard cash with tail spend management and supplier consolidation and maverick spend and contract compliance.

Questions practitioners ask

What are the three dimensions of a procurement spend cube?

Every spend cube organizes reconciled third-party spend across three dimensions: Who bought it (plant, business unit, cost center), What was bought (UNSPSC-aligned category taxonomy), and From Whom it was bought (normalized ultimate parent supplier), enriched with PO, contract, and payment-term flags.

Can you build a spend cube in Excel without dedicated analytics software?

Yes. For companies processing up to roughly 200,000 to 250,000 annual invoice lines, an Excel Power Query star schema separating the transaction fact table from normalized supplier, taxonomy, and organization dimension tables delivers fast, auditable spend visibility.

What should be excluded from addressable spend?

Exclude disbursements where market competition or switching is structurally absent: statutory taxes and permits, employee payroll benefits pass-throughs, regulated monopoly utilities, intercompany transfers, and capitalized lease liabilities under FASB ASC 842.

How low should unclassified spend be before launching sourcing waves?

Target less than 1.0 percent unclassified spend (Kestrel reduced unclassified spend from 19.0 percent to 0.8 percent). Chasing 100.0 percent perfection on tiny miscellaneous receipts wastes weeks and delays real sourcing savings.

Read the full handbook

This guide is drawn from The Spend Analysis Handbook, following Kestrel Precision Manufacturing, Inc. through a complete 12-month spend analytics and savings transformation.

Paperback, $32.99 PDF edition, $19.99 Book page and companion workbooks

Free download: Spend Analysis Cube Template (Excel).

Illustrative figures computed by the book model; Kestrel Precision Manufacturing, Inc. is fictional. Education only, not legal, tax, accounting, or external audit advice.