Lesson 1
Excel Functions for Financial Modelling (NPV, XIRR, PMT, Lookup, Pivot, Data Tables)
Excel's core financial and analytical functions let modellers value cash flows, size loan payments, retrieve data and summarise large datasets. NPV, XNPV/XIRR and PMT handle time value of money, lookup functions link inputs, and pivot tables and data tables support analysis and sensitivity testing.
Time value of money functions
- NPV(rate, value1, ...) discounts cash flows assuming the first value occurs at the END of period 1.
- Add the time-0 investment separately: =NPV(r, CF1:CFn) + CF0.
- IRR(values) gives the discount rate where NPV = 0 for evenly spaced periods.
- XNPV(rate, values, dates) and XIRR(values, dates) handle irregular dates using actual day counts (365-day basis).
- XIRR needs at least one negative and one positive cash flow.
PMT and loan functions
- PMT(rate, nper, pv, [fv], [type]) gives the constant payment per period for a loan or annuity.
- Match units: for monthly payments use annual rate/12 and years*12 periods.
- Result is negative when pv is entered as positive (cash-flow sign convention).
- Related: IPMT (interest part), PPMT (principal part), FV, PV, NPER, RATE.
Lookup functions
- VLOOKUP(value, table, col_index, FALSE) searches the first column; use FALSE for exact match.
- VLOOKUP cannot look left and breaks if columns are inserted.
- INDEX(range, MATCH(value, lookup_range, 0)) is flexible: looks any direction, robust to column changes.
- XLOOKUP(value, lookup_array, return_array) is the modern replacement, exact match by default.
Pivot tables and data tables
- Pivot tables summarise large datasets by dragging fields into Rows, Columns, Values and Filters; refresh after source data changes.
- Data tables (What-If Analysis) show how an output changes as one or two inputs vary.
- One-variable data table: one input varies; two-variable: row and column inputs vary, output formula in top-left corner.
- Data tables are used for sensitivity analysis (e.g. valuation vs WACC and growth).
Key terms
- NPV
- Present value of future cash flows minus initial investment; Excel's NPV assumes end-of-period flows starting at period 1.
- XIRR
- Internal rate of return for cash flows on irregular dates.
- PMT
- Function returning the fixed periodic payment for a loan or annuity.
- INDEX-MATCH
- Lookup combination returning a value at the position found by MATCH.
- Pivot table
- Interactive tool that aggregates and summarises tabular data.
- Data table
- What-If tool that recalculates an output across a range of input values.
Lesson 2
Building a Three-Statement Financial Model
A three-statement model links the income statement, balance sheet and cash flow statement so that changes in assumptions flow consistently through all three. The model is driven by assumptions, supported by schedules (working capital, PP&E, debt), and checked by a balancing balance sheet and cash reconciliation.
Structure and assumptions
- Build in order: historicals, assumptions/drivers, income statement, supporting schedules, balance sheet, cash flow statement, checks.
- Typical drivers: revenue growth, margins, capex % of revenue, days receivable/inventory/payable, tax rate, interest rate.
- Separate inputs (often blue font) from formulas (black) for clarity.
How the statements link
- Net income from the income statement starts the cash flow statement (indirect method) and feeds retained earnings.
- Retained earnings end = beginning + net income - dividends.
- Depreciation is added back in operating cash flow and reduces PP&E.
- Increase in working capital assets (receivables, inventory) reduces cash; increase in payables increases cash.
- Capex appears in investing cash flow and increases PP&E: PP&E end = begin + capex - depreciation.
- Debt issuance/repayment and dividends appear in financing cash flow.
- Ending cash from the cash flow statement becomes the balance sheet cash.
Schedules and checks
- Working capital schedule: AR = revenue/365 * DSO; inventory = COGS/365 * DIO; AP = COGS/365 * DPO.
- Debt schedule: interest expense based on (average) debt balance; average balances can create circularity, handled with iterative calculation or a toggle.
- Balance check: assets - (liabilities + equity) = 0 every period.
- Errors usually come from a missed link or sign error in the cash flow statement.
Key terms
- Three-statement model
- Integrated model linking the income statement, balance sheet and cash flow statement.
- Indirect method
- Cash flow from operations starting from net income and adjusting for non-cash items and working capital.
- Net working capital
- Operating current assets minus operating current liabilities.
- Debt schedule
- Supporting calculation of debt balances, repayments and interest expense.
- Circular reference
- Formula loop, e.g. interest depends on cash which depends on interest.
Lesson 3
DCF Valuation and Comparable Company Analysis
Discounted cash flow (DCF) valuation values a business as the present value of its projected free cash flows plus a terminal value, discounted at WACC. Comparable company analysis values it relative to peers using trading multiples such as EV/EBITDA and P/E; the two are used together to cross-check value.
DCF steps
- Project unlevered free cash flow: FCFF = EBIT*(1-t) + D&A - capex - increase in NWC.
- Discount at WACC = E/(D+E)*Re + D/(D+E)*Rd*(1-t).
- Cost of equity via CAPM: Re = Rf + beta*(Rm - Rf).
- Terminal value (Gordon growth): TV = FCF(n)*(1+g)/(WACC - g); or exit multiple: TV = EBITDA(n)*multiple.
- Enterprise value = PV of forecast FCFs + PV of TV.
- Equity value = EV - net debt (debt - cash), minus preferred/minorities; per share = equity value / diluted shares.
DCF judgement points
- g must be below WACC and roughly long-run GDP/inflation growth.
- Terminal value often makes up most of EV, so test sensitivity to WACC and g.
- Use unlevered FCF with WACC; levered FCF with cost of equity (consistency).
Comparable company analysis
- Select peers with similar industry, size, growth, margins and risk.
- Calculate multiples: EV/EBITDA, EV/Revenue, P/E.
- Match numerator and denominator: EV multiples use pre-interest metrics (EBITDA, revenue); equity multiples use post-interest metrics (net income).
- Apply median/mean peer multiple to target metric; convert EV to equity by subtracting net debt.
- Comparables reflect current market sentiment; DCF reflects intrinsic value.
Key terms
- Free cash flow to firm
- Cash flow available to all capital providers after taxes, capex and working capital investment.
- WACC
- Weighted average cost of debt (after tax) and equity, used to discount FCFF.
- Terminal value
- Value of cash flows beyond the explicit forecast period.
- Enterprise value
- Value of operating business to all capital providers: equity + net debt.
- Trading multiple
- Valuation ratio such as EV/EBITDA derived from peer market prices.
Lesson 4
Regression Forecasting and Financial Dashboards
Regression forecasting uses the statistical relationship between a dependent variable (e.g. sales) and one or more drivers to project future values. Financial dashboards turn model outputs into concise visual summaries of key metrics that support fast decisions.
Regression basics
- Simple linear regression: Y = a + bX + e, where a is the intercept, b the slope and e the error term.
- Multiple regression adds more drivers: Y = a + b1X1 + b2X2 + ... + e.
- Coefficients are estimated by ordinary least squares, which minimises the sum of squared residuals.
- R-squared is the share of the variation in Y explained by the model (0 to 1).
Regression forecasting in Excel
- Functions: SLOPE, INTERCEPT, RSQ, FORECAST.LINEAR, TREND and LINEST.
- For full output (coefficients, p-values, standard errors), use the Data Analysis ToolPak > Regression.
- Check p-values (below 0.05 usually means significant), the residual pattern and multicollinearity.
- Forecasting beyond the range of the historical data (extrapolation) increases risk.
- Time-trend models use the period number as X; seasonality can be captured with dummy variables.
Financial dashboards
- A dashboard shows KPIs such as revenue, margins, cash flow and variance against budget on one screen.
- Design principles: clear purpose, few well-chosen KPIs, consistent layout, minimal clutter.
- Excel tools: PivotTables, PivotCharts, slicers, conditional formatting, sparklines and dynamic named ranges.
- Separate the input data, calculation and presentation layers so the dashboard stays easy to update.
- Choose charts to fit the message: line for trends, bar for comparisons, waterfall for bridges.
Key terms
- Dependent variable
- The variable being forecast (Y).
- Independent variable
- A driver used to explain or predict Y (X).
- R-squared
- The proportion of the variance in Y explained by the regression.
- Residual
- Actual value minus the value predicted by the model.
- KPI
- Key performance indicator: a metric that tracks progress toward a goal.
- Slicer
- An Excel filter control that lets users interactively filter PivotTables and charts.
Lesson 5
Scenario Analysis and Monte Carlo Simulation in Excel
Scenario analysis tests a model under a small set of defined cases (such as base, best and worst) to see the range of outcomes. Monte Carlo simulation goes further: it draws random values for uncertain inputs thousands of times to produce a probability distribution of results.
Sensitivity and scenario analysis
- Sensitivity analysis changes one input at a time and observes the effect on the output.
- Data Tables (one-way or two-way) show how the output responds across a range of input values.
- Scenario analysis changes several inputs together to form coherent cases: base, best and worst.
- Excel tools: Scenario Manager, or a scenario switch built with CHOOSE or INDEX.
- Limitation: scenarios do not tell you how likely each outcome is.
Monte Carlo simulation
- Assign a probability distribution (normal, uniform, triangular) to each uncertain input.
- Generate random draws: RAND() gives a uniform value between 0 and 1; NORM.INV(RAND(), mean, sd) gives a normal value.
- Recalculate the model many times (e.g. 1,000 to 10,000 trials), for example by using a Data Table to repeat the calculation.
- Analyse the outputs: mean, standard deviation, percentiles, and the probability of a loss or of NPV < 0.
- Display the results with a histogram.
Good practice
- Base distributions and correlations between inputs on data or justified judgement.
- More trials reduce sampling noise.
- Results are only as good as the assumptions behind them.
Key terms
- Scenario analysis
- Evaluating outcomes under several defined combinations of inputs.
- Sensitivity analysis
- Varying one input at a time to measure its effect on the output.
- Monte Carlo simulation
- Repeated random sampling of inputs to build a distribution of outcomes.
- NORM.INV
- Excel function that returns the inverse of the normal distribution; used with RAND() to draw normal values.
- Data Table
- Excel what-if tool that recalculates the output across a set of input values.
