lbo-model

Build leveraged buyout models in Excel with debt schedules, cash sweeps, and IRR/MOIC sensitivity tables.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill lbo-model-chensihakniroth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lbo-model
Source: https://github.com/Chensihakniroth/ANAKOT-AGENT/tree/main/optional-skills/finance/lbo-model
Command: npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill lbo-model-chensihakniroth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl.

What problem does it solve? Building an LBO model from scratch in Excel is error-prone: circular interest references, unbalanced Sources & Uses, broken cash sweeps, and sensitivity tables that don't tie to the base case. This Skill produces a dynamic, formula-driven .xlsx LBO model that updates when assumptions change. ## Core Features & Use Cases - Template-Driven Modeling: Populates a provided LBO template or the standard template with Excel formulas (never hardcoded values) using openpyxl. - Full LBO Structure: Covers Sources & Uses, operating projections, debt schedule with cash sweep waterfall, exit valuation, and IRR/MOIC returns analysis. - Sensitivity Tables: Builds odd-dimension (5x5 or 7x7) IRR/MOIC grids centered on the base case with mixed cell references. - Banking Formatting Standards: Applies blue/black/purple/green font conventions, professional blue-grey fill palette, and standard number formats. - Use Case: A PE analyst needs an illustrative LBO for a pitch. Provide the entry multiple, leverage, and operating assumptions, and receive a validated Excel model with balanced statements and a sensitivity table whose center cell matches the model's actual IRR. ## Quick Start Use the lbo-model skill to build an LBO model in Excel for a target acquired at 10x EBITDA with 5x leverage, holding for five years.

Frequently Asked Questions about lbo-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an LBO model in Excel with Python?▼

Use openpyxl to write formula strings into cells (e.g., ws["D20"] = "=B5*B6") rather than computed values, keeping the model dynamic. Follow a template structure for Sources & Uses, operating model, debt schedule, and returns, then recalculate the workbook before delivery.

How to avoid circular references in LBO interest calculations?▼

Calculate interest on the beginning debt balance rather than the average or ending balance. This breaks the circular chain of Interest → Cash Flow → Paydown → Ending Balance that otherwise prevents Excel from resolving the model.

Does openpyxl support Excel data tables for sensitivity analysis?▼

Excel's DATA TABLE function generally does not work with openpyxl. Instead, write explicit formulas in each grid cell using mixed references ($A5 for row input, B$4 for column input) so every cell varies with its row and column headers.

Why does my LBO sensitivity table show the same value in every cell?▼

Identical values mean the formulas are not varying with the axis inputs, usually because absolute references were used everywhere. Use mixed references and verify the center cell equals the model's actual IRR or MOIC output.

What are the limitations of building Excel models with openpyxl?▼

openpyxl writes formulas but does not calculate them, so the workbook must be recalculated with a helper script or opened in Excel before values appear. It also lacks support for some interactive features like native data tables and macros.