Power Migrate

Samples / FP&A month-end model

FP&A month-end model

A small company's monthly P&L model, written the way such models grow in real life: an order log with lookups, a revenue roll-up with whole-column SUMIFS, headcount-driven costs, a P&L with running totals and a dashboard.

Sheets
8
Formula cells
2,477
Logic blocks
43
Input cells
1,275
Final outputs
335

What the workbook contains, on purpose

Functions used most: VLOOKUP (600), EOMONTH (312), TEXT (301), IF (300), SUMIFS (152), SUM (39), COUNTIF (14), MAX (13), ROUND (12), IFERROR (12), ROUNDUP (12), INDEX (2), MATCH (2), TODAY (1).

Results by target

Every formula cell is compared with the value Excel stored in the file. A match is within 1e-9; errors must match by code. The SQL target declares that an Excel error is NaN in a numeric column (its code is not carried) and NULL in a text column, as is the empty string, and the report counts the cells that matched only under that policy on a row of their own.

Target Match Mismatch Not converted Under policy Evidence
Python 2,477 (100.0%) 0 0 Reconciliation Workbook map Graph Code (zip)
pandas 2,477 (100.0%) 0 0 Reconciliation Workbook map Graph Code (zip)
SQL (DuckDB) 2,476 (100.0%) 0 1 11 Reconciliation Workbook map Graph Code (zip)

Generated input variations: 20 input sets were run through Excel 16.0 and the Python code side by side; 2,476 of 2,477 cells agreed on every set, 0 disagreed, and 1 depend on TODAY() so are not compared (Excel moves with the clock; the code is frozen to the file's save date).

The dependency graph

Sheets laid out by calculation depth; arrows carry formula counts. Click a sheet for its blocks and functions.

The generated code