Power Migrate

Samples / Asset-finance pricing calculator

Asset-finance pricing calculator

A deal-pricing workbook of the kind a lending or leasing team keeps: deal inputs, a rate card looked up two ways, a 72-row amortisation schedule, deal economics with NPV, IRR and a break-even rate, a sensitivity grid and a quote summary.

Sheets
6
Formula cells
641
Logic blocks
52
Input cells
139
Final outputs
97

What the workbook contains, on purpose

Functions used most: IF (577), PMT (103), EDATE (75), PPMT (72), IPMT (71), MATCH (2), COUNTIF (2), TEXT (2), ROUND (1), NETWORKDAYS (1), WORKDAY (1), DATEDIF (1), YEARFRAC (1), INDEX (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 641 (100.0%) 0 0 Reconciliation Workbook map Graph Code (zip)
pandas 641 (100.0%) 0 0 Reconciliation Workbook map Graph Code (zip)
SQL (DuckDB) 638 (99.5%) 1 2 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; 641 of 641 cells agreed on every set, 0 disagreed.

The dependency graph

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

The generated code