lbo-model

Build leveraged buyout Excel models with IRR and MOIC using openpyxl formulas.

Updated Sep 10, 2026
One-click install
npx skills add https://github.com/loteiron/ZeusAgent --skill lbo-model-loteiron
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lbo-model
Source: https://github.com/loteiron/ZeusAgent/tree/main/optional-skills/finance/lbo-model
Command: npx skills add https://github.com/loteiron/ZeusAgent --skill lbo-model-loteiron

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl.

What problem does it solve? Building an LBO model in Excel requires dozens of interlinked formulas across Sources & Uses, operating projections, debt schedules, and returns analysis, and a single hardcoded value or wrong cell reference breaks the entire model. This Skill produces dynamic, template-driven LBO workbooks where every calculation is a live Excel formula. ## Core Features & Use Cases - Template-Based Modeling: Copies a user-provided or standard LBO template and populates it with formulas rather than building from scratch. - Formula Discipline: Writes openpyxl formula strings for every calculation, applies banker color conventions (blue inputs, black formulas, purple same-tab links, green cross-tab links), and recalculates before delivery. - Returns & Sensitivity Analysis: Builds IRR/MOIC outputs and odd-dimension sensitivity tables with a highlighted base-case center cell. - Use Case: An analyst receives a CIM and an LBO template, then uses this Skill to fill Sources & Uses, project the P&L, build the debt waterfall, and deliver a validated returns analysis section by section. ## Quick Start Use the lbo-model skill to build an LBO model from my attached template with a 10x entry multiple, 60% debt financing, and a 5-year hold.

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 like ws["D20"] = "=B5*B6" into a template workbook, never hardcoding computed values. After filling all sections, run a recalculation script to validate formulas before delivering the .xlsx file.

How to calculate IRR and MOIC in an LBO model?▼

IRR uses a cash flow series with the investment as negative and exit proceeds as positive across consecutive periods, or XIRR with dates. MOIC equals total proceeds divided by total investment, formatted as a multiple like 0.00x.

Does openpyxl support Excel data tables for sensitivity analysis?▼

Excel's DATA TABLE function does not work reliably with openpyxl. Instead, write explicit formulas in each cell using mixed references like $A5 and B$4 so values vary across the grid, and use odd dimensions such as 5x5 with the base case centered.

Why does my LBO model have circular reference errors?▼

Circularity occurs when interest references ending debt balances that depend on cash flow, which itself depends on interest. Break the loop by calculating interest on beginning balances instead of average or ending balances.

What color conventions do investment banking Excel models use?▼

Standard conventions use blue font for hardcoded inputs, black for formulas, purple for same-tab cell links, and green for cross-sheet references. Fills stay minimal with dark blue section headers, light blue column headers, and white calculation cells.