Excel Dashboard Design for Credit Portfolio Risk

Medium · Analytics & Experimentation · Data Scientist · Technical Screen

Prompt

Propose an Excel reporting workbook that communicates three dimensions of a lending portfolio's risk profile: Expected Loss (EL), Risk-Weighted Assets (RWA), and concentration exposure. Walk through the exact PivotTables, charts, and conditional-formatting grids (heatmaps) you would build, define the underlying columns and aggregation formulas behind each view, and explain how your layout guides credit and capital decisions.

Scope & Expectations

  • Define how EL, RWA, and concentration metrics aggregate across loan facilities so rates, limits, and parent-company exposures are never distorted.
  • Specify the concrete Excel views—summary tables, bridges, charts, and two-way grids—along with the exact dimensions and measures feeding each visual.
  • Connect every visual choice to a concrete action taken by credit committees, portfolio managers, or capital allocation teams.
  • Address practical spreadsheet safeguards such as point-in-time snapshot filtering, accessible threshold rules, and source-data reconciliation checks.

Step-by-step walkthrough

  1. Start with the decisions and define the three risk metrics

    Every chart in a risk workbook should support a concrete action. Before opening Excel, map each audience to the decision they need to make:

    Audience                       Decision the Excel workbook supports
    -----------------------------  --------------------------------------------------------
    Credit committee / CRO         Set or tighten sector limits and single-borrower caps
    Portfolio managers             Tighten underwriting, reprice loans, or hedge exposures
    Capital & finance teams        Allocate balance sheet to lines earning their capital cost
    

    Next, define the three risk metrics clearly, because Excel must aggregate each one differently:

    • Expected Loss (EL) is the average credit loss a bank expects over a fixed horizon (typically 12 months for regulatory risk reporting). For a single loan facility, EL = PD × LGD × EAD, where:
      • PD (Probability of Default) is the chance (0 to 100%) that the borrower defaults within 12 months.
      • LGD (Loss Given Default) is the percentage of exposure the bank permanently loses after recoveries if a default occurs.
      • EAD (Exposure at Default) is the dollar balance the bank expects to be owed at the moment of default (including drawn balances plus a credit-conversion share of undrawn credit lines).
      • Worked example: A facility with EAD = $1,000,000, PD = 2%, and LGD = 40% has EL = $1,000,000 × 0.02 × 0.40 = $8,000, or an EL rate (EL / EAD) of 0.80%. Dollar EL is additive: portfolio EL is simply the sum of facility ELs. (Always label whether the workbook shows 1-year regulatory EL or lifetime accounting reserves such as CECL, Current Expected Credit Losses, which cover the full remaining life of the loan.)
    • Risk-Weighted Assets (RWA) is exposure scaled by a regulatory risk weight (RWA = EAD × risk_weight) to reflect unexpected loss risk. Risk weights come from an upstream capital engine using either fixed regulatory lookup tables (Standardized Approach) or the bank's own validated PD/LGD formulas (IRB, Internal Ratings-Based approach). Excel aggregates pre-computed RWA rather than recomputing nonlinear regulatory formulas. Under Basel Pillar 1 rules, RWA is additive across facilities, and minimum total regulatory capital is 8% of RWA before capital buffers—so $8,600M of RWA ties up at least $688M of capital. RWA density (RWA / EAD) measures how capital-intensive each dollar of lending is.
    • Concentration risk measures how vulnerable the bank is to a single large borrower defaulting or one industry/region suffering a downturn. Unlike EL and RWA, concentration is not additive—it depends on portfolio shares, utilization against risk-appetite limits, and summary dispersion scores such as the Herfindahl-Hirschman Index (HHI), defined as the sum of squared portfolio shares (sum(share_i^2)).
  2. Design a clean Excel data model that avoids aggregation traps

    All PivotTables (interactive Excel summary tables that group and aggregate rows without manual formulas) should pull from one clean data foundation so every tab reconciles to the exact same totals. Load the monthly risk extract via Power Query (Excel's repeatable data-import pipeline) into Excel's Data Model (Power Pivot) using one fact table and two small limit lookup tables:

    Facilities (1 row per facility per as_of_date)       Sector_Limits (1 row per sector)
    +---------------------------------------------+      +-------------------------------+
    | as_of_date, facility_id, obligor_id         |      | sector (PK), sector_limit     |
    | obligor_group, business_line, product       |      +-------------------------------+
    | sector (FK) -------------------------------+----->
    | region, rating_grade, collateral_type       |      Obligor_Limits (1 row per group)
    | PD, LGD, EAD, EL, risk_weight, RWA          |      +-------------------------------+
    +---------------------------------------------+      | obligor_group (PK), limit     |
                                                         +-------------------------------+
    

    Three structural rules prevent the most common Excel mistakes:

    1. Keep limits in separate lookup tables, never repeated on every facility row. If Commercial Real Estate (CRE) has 500 loans and sector_limit = 4,500 is pasted onto every loan row, a default PivotTable sums 4,500 × 500 = 2,250,000. Linking Sector_Limits one-to-many on sector lets Excel compare SUM(Facilities[EAD]) cleanly against SUM(Sector_Limits[sector_limit]).
    2. Compute ratios as ratios of sums, never averages of ratios. Suppose Loan A has EAD = $900M and PD = 1%, while Loan B has EAD = $100M and PD = 10%. Selecting "Average of PD" in a PivotTable gives (1% + 10%) / 2 = 5.5%, weighting the small loan equally with the large one. The true exposure-weighted PD is (900 × 1% + 100 × 10%) / 1,000 = 1.9%.
      • In a classic PivotTable, EL / EAD and RWA / EAD can be built directly as calculated fields (PivotTable formulas evaluated on summed column totals), while weighted PD needs one helper column PD_x_EAD = PD * EAD in the table (EL cannot be used because it also multiplies by LGD) and a calculated field = PD_x_EAD / EAD.
      • In the Data Model (DAX), define explicit measures once:
    Total EAD    := SUM(Facilities[EAD])
    Total EL     := SUM(Facilities[EL])
    Total RWA    := SUM(Facilities[RWA])
    EL Rate      := DIVIDE([Total EL], [Total EAD])
    RWA Density  := DIVIDE([Total RWA], [Total EAD])
    Weighted PD  := DIVIDE(SUMX(Facilities, Facilities[PD] * Facilities[EAD]), [Total EAD])
    EAD Share    := DIVIDE([Total EAD], CALCULATE([Total EAD], ALLSELECTED(Facilities[sector])))
    HHI Sector   := SUMX(VALUES(Facilities[sector]), [EAD Share] ^ 2)
    
        Using `ALLSELECTED` removes the current row's sector filter while respecting active report filters (such as `as_of_date` or `business_line`), so sector shares within any filtered view still add up to `100%`.
    
    1. Roll borrowers up to obligor_group (corporate parent plus guarantors). Three $100M credit lines to subsidiaries of the same parent company represent one $300M single-name concentration risk, not three independent $100M loans.

    We will trace all charts below on an illustrative $10,000M portfolio (values in USD millions):

    Sector        EAD     EL    EL Rate   RWA   RWA Density  Sector Limit  Utilization
    -----------  ------  ----  --------  -----  -----------  ------------  -----------
    CRE           4,000  28.0    0.70%   3,600      90%         4,500          89%
    Energy        2,500  30.0    1.20%   2,500     100%         2,600          96%
    Retail        1,500  16.5    1.10%   1,200      80%         2,200          68%
    Healthcare    1,000   4.0    0.40%     600      60%         1,500          67%
    Technology    1,000   6.5    0.65%     700      70%         1,500          67%
    -----------  ------  ----  --------  -----  -----------  ------------  -----------
    Total        10,000  85.0    0.85%   8,600      86%            --           --
    
  3. Tab 1 — Executive summary and quarter-over-quarter RWA bridge

    The opening sheet answers "How large is our risk today, and why did it move since last quarter?" in under 60 seconds:

    • KPI summary tiles (cells referencing PivotTables with GETPIVOTDATA so they update dynamically with filters): Total EAD = $10,000M, Total EL = $85.0M (0.85%), Total RWA = $8,600M (86% density), Minimum Pillar 1 Capital (8% × RWA) = $688M, Sector HHI = 0.265, and Largest Obligor Group (% of Tier 1 Capital), each paired with its quarter-over-quarter (QoQ) delta. (Tier 1 capital is a bank's core loss-absorbing equity and retained earnings.)
    • Side-by-side quarterly trend line charts: One small PivotChart for EL Rate over the last 8 quarters, and a separate small PivotChart next to it for RWA Density. Never plot 0.85% and 86% on the same vertical axis (which squashes EL Rate into a flat line along zero), and avoid dual y-axes (where tweaking axis bounds makes lines cross at arbitrary places).
    • Quarter-over-quarter RWA waterfall chart (bridge): Decomposes the net change in RWA into distinct business and credit drivers:
    Prior Quarter RWA                  8,300
      + New originations & draws        +450
      - Repayments & maturities         -280
      + Rating downgrades (migration)   +190
      - Collateral / LGD updates         -60
    Current Quarter RWA                8,600
    

    Excel's built-in waterfall chart (a step-by-step bridge showing how positive and negative drivers connect a starting total to an ending total) cannot bind directly to a PivotTable, so feed it from a small range of GETPIVOTDATA or SUMIFS cells. Footnote the exact attribution sequence (volume first, then rating migration, then LGD updates), because changing the step order shifts interaction terms slightly.

    • Why this aids decisions: If RWA rose by +$300M because of +$450M in profitable new loans, management checks pricing; if it rose because of +$190M in rating downgrades, credit officers tighten watch-list monitoring and collateral calls.
  4. Tab 2 — Expected loss drivers (where losses come from)

    This tab isolates where credit losses are concentrated relative to loan volume:

    • Paired sorted horizontal bar chart (EAD Share vs EL Share by sector): Sort sectors by EL Share descending. Energy represents 25.0% of EAD (2,500 / 10,000) but 35.3% of EL (30.0 / 85.0), whereas Healthcare is 10.0% of EAD and only 4.7% of EL. Side-by-side bars make that 10.3-percentage-point gap effortless to spot, unlike two pie charts where readers struggle to compare slice angles.
    • PivotTable heatmap (Sector rows × Rating Grade columns, EL values): Apply conditional formatting (automatic cell shading driven by numeric rules) to show whether Energy's $30.0M expected loss sits across the entire industry or inside two distressed rating grades.
    • Risk-driver bubble chart (x = Weighted PD, y = Weighted LGD, bubble area = Total EAD): Built from a small summary formula block (Excel bubble charts are also standard charts rather than PivotCharts). Because EL Rate ≈ PD × LGD, sectors in the upper-right corner have both high default likelihood and weak collateral recovery; large bubbles there are top underwriting priorities.
    • Pareto chart of EL by obligor_group: A Pareto chart combines descending bars for individual borrower EL with a rising cumulative-percentage line, immediately answering "How many borrower groups account for 50% of our expected loss?"

    • Why this aids decisions: Portfolio managers see whether to reprice an entire sector (broadly elevated PD/LGD) or intervene on a handful of distressed names (steep Pareto curve).

  5. Tab 3 — Capital consumption and RWA efficiency

    Capital is scarce, so this tab pairs RWA consumption with revenue efficiency:

    • Stacked bar chart of RWA by business_line and sector, broken out by product or regulatory approach (Standardized vs IRB), with RWA Density shown in data labels. In our portfolio, CRE consumes 41.9% of RWA (3,600 / 8,600) on 40.0% of EAD (90% density), while Energy has 100% density.
    • Capital efficiency comparison (RWA Density vs Return on RWA): When finance provides pre-tax net income by business line, compute Return on RWA = Income / RWA alongside exposure. Consider two business lines:
    Business Line     EAD     RWA   RWA Density   Income   Income / EAD   Return on RWA
    -------------  ------  ------  ------------  -------  -------------  --------------
    Line A         20,000   6,000       30%         300       1.50%          5.00%
    Line B          5,000   5,000      100%         400       8.00%          8.00%
    

    Judging by exposure size alone favors Line A ($20,000M), and judging by RWA Density alone makes Line B look expensive (100%). Plotting Return on RWA reveals that Line B earns 8.00% per dollar of scarce regulatory capital versus 5.00% for Line A.

    • Column chart of EAD and RWA Density by rating_grade: Shows how much exposure sits one notch above a steep jump in risk weight (for example, just above non-investment grade), giving management an immediate first-order view of downgrade vulnerability before running full capital-engine stress simulations.
  6. Tab 4 — Concentration heatmaps, limit utilization, and migration

    Concentration risk is about tail events, so combine two-way exposure grids, hard risk-appetite thresholds, and single-name tables:

    • Sector × Region PivotTable heatmap (Show Values As -> % of Grand Total): Shades cells by portfolio share so a geographic pocket such as "CRE in one metro region = 14% of total EAD" pops out visually instead of hiding inside a 60-row table.
    • Limit utilization table with fixed-threshold rules (Utilization = EAD / Sector Limit): Apply explicit rule-based conditional formatting tied to board risk appetite—for example, Green (< 75%), Amber (75% to < 90%), and Red (>= 90%)—plus a text status column (OK / WARN / NEAR CAP) or shape icons so color-blind readers do not rely on red-versus-green shading alone. In our portfolio, Energy (96%) flags Red and CRE (89%) flags Amber. Never use Excel's default relative 3-color scale here: a relative scale always paints the highest cell red even if every sector is safely at 30% utilization!
    • Top 20 obligor_group table with in-cell data bars: Columns for Obligor Group, Sector, Rating, EAD, % of Portfolio EAD, % of Tier 1 Capital, Obligor Limit, and Utilization. With an assumed Tier 1 capital base of $2,000M, a $300M parent exposure is 3.0% of portfolio EAD (300 / 10,000) but 15.0% of Tier 1 capital (300 / 2,000). Under the Basel large-exposures standard, exposure to a single counterparty group is capped at 25% of Tier 1 capital (15% between global systemically important banks), and internal house limits are typically much tighter.
    • Quarterly HHI trend and Rating Migration Matrix:
      • Sector HHI = 0.40^2 + 0.25^2 + 0.15^2 + 0.10^2 + 0.10^2 = 0.265 (or 2,650 on a 0–10,000 scale). Its reciprocal 1 / 0.265 ≈ 3.8 translates the index into plain English: "Our sector mix is as concentrated as ~3.8 equal-sized sectors." Plot HHI over time rather than as an isolated number.
      • A Rating Migration Matrix is a PivotTable with Prior Quarter Grade on rows, Current Quarter Grade on columns (both ordered best-to-worst), and % of Row EAD in cells. Cells to the right of the diagonal represent downgrades—an early warning before defaults materialize.
  7. Add interactive slicers, snapshot safeguards, and automated checks

    To make the workbook reliable in live committee meetings and monthly refreshes, build in three guardrails:

    • Shared Slicers and the point-in-time balance rule: Connect Slicers (clickable filter buttons) for business_line, product, and region to every PivotTable via Report Connections. Crucially, EAD, EL, and RWA are point-in-time stock balances, not monthly flows: if a user selects three month-ends at once on a date slicer, a plain SUM adds the same loans three times and triples the portfolio! Enforce single-date selection on snapshot tabs, or wrap Data Model measures in CALCULATE([Total EAD], LASTDATE(Facilities[as_of_date])) so multi-month selections still return only the latest month-end balance.
    • Visual consistency: Use one unit everywhere ($ millions), put the as_of_date and takeaway in chart titles ("Energy is 25% of EAD but 35% of Expected Loss — Q3 2026"), use a color-blind-safe palette (blue-to-orange for diverging scales), and avoid 3D effects or multi-slice pie charts.
    • Automated reconciliation (Controls and Definitions tabs): Add a Definitions tab documenting every formula, horizon, and data source, plus a Controls tab computing Pivot Total - Raw Extract Total for EAD, EL, RWA, and row counts, surfacing a prominent CHECK FAILED banner on Tab 1 if any discrepancy exceeds $0.01M. An analyst can also cross-check the monthly CSV extract before distribution with a simple verification script:
    def sector_summary(rows):
        """Aggregate facility EAD, EL, and RWA by sector and compute sector HHI."""
        # by_sector maps sector_name -> {"EAD": float, "EL": float, "RWA": float}
        by_sector = {}
        for row in rows:
            sector_name = row["sector"]
            if sector_name not in by_sector:
                by_sector[sector_name] = {"EAD": 0.0, "EL": 0.0, "RWA": 0.0}
            by_sector[sector_name]["EAD"] += row["EAD"]
            by_sector[sector_name]["EL"] += row["EL"]
            by_sector[sector_name]["RWA"] += row["RWA"]
    
        # Sum EAD across all sectors so we can turn each sector's EAD into a portfolio share
        total_ead = sum(metrics["EAD"] for metrics in by_sector.values())
    
        # HHI is the sum of squared EAD shares; guard against an empty or zero-balance extract
        hhi = 0.0
        if total_ead > 0.0:
            for metrics in by_sector.values():
                ead_share = metrics["EAD"] / total_ead
                hhi += ead_share * ead_share
    
        return by_sector, hhi
    

Intuition & how it works

Think of a credit-risk Excel workbook like an airplane cockpit rather than a raw flight-data recorder. Pilots do not read 50,000 sensor lines mid-flight; they rely on distinct gauges for fuel burn (Expected Loss, EL—the average loss expected over the next 12 months), airframe load (Risk-Weighted Assets, RWA—exposure weighted by regulatory risk factors that determine required bank capital), and single-engine overheating (concentration risk—how badly one borrower group or industry downturn could hurt the bank). Every gauge is wired to one clean underlying data feed so filtering by region or product updates every visual without contradicting the headline totals.

A naive Excel approach—dropping a loan dump into default PivotTables (interactive summary tables) with pie charts and automatic color scales—fails in four predictable ways. First, PivotTables default to simple unweighted averages on rate columns, weighting a $1M loan the same as a $900M loan. Second, selecting multiple reporting months sums point-in-time loan balances together and multiplies the portfolio size. Third, grouping by loan ID hides parent-company concentration across subsidiaries, while default relative red-green color scales paint the highest cell alarming red even when every sector sits comfortably below its risk cap.

Walk through a tiny two-loan check inside one sector to see how proper Excel measures work: Loan A has Exposure at Default (EAD) (expected balance owed at default) of $900M and Probability of Default (PD) (12-month default likelihood) of 1%; Loan B has EAD = $100M and PD = 10%, both with Loss Given Default (LGD) (unrecovered fraction after default) of 40%. Loan A's expected loss is $900M × 1% × 40% = $3.6M and Loan B's is $100M × 10% × 40% = $4.0M, so dollar EL adds cleanly to $7.6M on $1,000M of EAD (0.76% EL rate). Meanwhile, a naive PivotTable "Average of PD" reports (1% + 10%) / 2 = 5.5%, whereas a proper ratio-of-sums measure (SUM(PD × EAD) / SUM(EAD)) reports (9 + 10) / 1,000 = 1.9%—nearly three times lower and consistent with the $7.6M loss ($1,000M × 1.9% × 40% = $7.6M).

Key points

  • Organize tabs around executive decisions, not raw database columns. Tab 1 covers portfolio totals and quarter-over-quarter drivers (RWA waterfall bridge); Tab 2 pinpoints EL hotspots; Tab 3 compares RWA consumption against revenue (Return on RWA); Tab 4 monitors single-name and sector concentration against hard limits.
  • Respect each metric's aggregation math. Dollar EL (PD × LGD × EAD) and RWA (EAD × risk_weight) add across loans, rates (PD, LGD, EL Rate, RWA Density) must be computed as exposure-weighted ratios of sums, and concentration must be measured via portfolio shares, limit utilization, and the Herfindahl-Hirschman Index (HHI) (sum of squared exposure shares; 0.265 across our five sectors equals the diversification of 1 / 0.265 ≈ 3.8 equal-sized sectors).
  • Separate facility facts from limit lookup tables. Keep one Facilities table (loaded via Power Query, Excel's automated import tool) linked in the Data Model to separate Sector_Limits and Obligor_Limits tables so PivotTables never sum a repeated sector limit across hundreds of loans, and always aggregate single-name exposure on obligor_group (corporate parent plus guarantors).
  • Match each visual to the exact perceptual comparison. Use a waterfall chart (step-by-step driver bridge) for quarter-over-quarter RWA changes (8,300 -> 8,600), paired sorted horizontal bars for EAD Share vs EL Share (Energy: 25.0% of exposure vs 35.3% of EL), PivotTable heatmaps for two-way Sector × Region grids, a Pareto chart (sorted bars plus cumulative % line) for top EL names, and a Top-20 table with in-cell data bars comparing single names against Tier 1 capital (core loss-absorbing bank equity).
  • Anchor conditional formatting to policy limits and accessible labels. Use fixed rule-based thresholds (Green < 75%, Amber 75%–90%, Red >= 90% of limit) paired with text status words or icons for color-blind accessibility, rather than relative color scales.
  • Build auditability directly into the workbook. Enforce single-date filtering (or LASTDATE DAX measures) so point-in-time balances are never summed across months, surface automated Controls reconciliation checks on Tab 1, and document horizons (1-year regulatory EL vs lifetime CECL accounting reserves) on a Definitions sheet.

Common mistakes

  • Using "Average of PD" or "Average of Risk Weight" in a PivotTable field setting instead of an exposure-weighted calculated field or DAX DIVIDE / SUMX measure.
  • Pasting sector_limit onto every facility row and letting a PivotTable sum it across hundreds of loans, or measuring single-name concentration on facility_id instead of parent obligor_group.
  • Using multi-slice pie charts or 3D charts for sector mixes, where 3- to 5-percentage-point shifts between quarters are visually unreadable.
  • Applying Excel's relative 3-color scale to limit utilization, which always colors the highest sector red even when every sector is well inside risk appetite (or fails to color all sectors red during a broad breach).
  • Plotting EL Rate (~0.85%) and RWA Density (~86%) on one shared percentage axis (flattening EL Rate onto zero), or using dual y-axes whose arbitrary scaling creates misleading line crossings.
  • Allowing a timeline or date Slicer (interactive filter button) to select three month-ends at once on a snapshot sheet, tripling EAD, EL, and RWA.
  • Presenting static levels without prior-quarter comparisons, driver bridges, as_of_date labels, or zero-tolerance reconciliation checks against the upstream capital engine.

Follow-up questions

  • How would you incorporate macroeconomic stress-testing results alongside baseline figures in the same workbook? Add stressed facility columns (PD_stress, LGD_stress, EL_stress, and upstream capital-engine RWA_stress) or load a scenario dimension (Baseline, Adverse, Severely Adverse) into the Data Model. Display a paired horizontal bar chart comparing Baseline EL vs Stressed EL by sector alongside a sector waterfall bridge showing which industries drive the jump. For example, in our portfolio Energy has EAD = $2,500M and baseline EL = $30.0M (say PD = 3.0% and LGD = 40%); if Energy PDs double to 6.0% while holding LGD at 40% for illustration (in practice downturn LGD is stressed upward too), Energy EL doubles to $60.0M and total portfolio EL jumps from $85.0M to $115.0M—a +35.3% loss surge coming from 25.0% of exposure. Always pull RWA_stress from the capital engine rather than scaling RWA linearly in Excel, because regulatory IRB (Internal Ratings-Based) risk-weight curves are concave in PD.

  • Executives want a single-page digest while credit officers need borrower-level drill-downs. How do you serve both audiences from one file? Keep a single Power Query connection and shared DAX measures in the Data Model, then build two presentation layers in the same file. Tab 1 serves as a print-ready one-page executive digest with headline KPI cards (including QoQ deltas), the RWA driver bridge, the fixed-threshold sector limit table, and the Top-5 obligor_group exposures with takeaway chart titles. Tabs 2–4 provide interactive slicers, Sector × Rating Grade PivotTables, and the full Top-20 borrower schedule for credit officers—guaranteeing that every drill-down reconciles to the penny with the summary page.

  • What controls prevent data corruption or stale totals during recurring monthly refreshes? Automate data ingestion through Power Query pointing to a locked monthly extract folder (zero manual copy-pasting), protect formula and DAX definitions with worksheet protection, and keep a dedicated Controls tab that checks row counts, missing obligor_group mappings, and exact $0.00 differences against source totals for EAD, EL, and RWA. Surface a high-visibility RECONCILIATION ERROR banner on Tab 1 whenever any check is non-zero, log dataset versions by as_of_date, and require independent peer sign-off whenever a measure formula or upstream schema changes.

Follow-up questions

Similar questions

More Wells Fargo interview questions

All 13 Wells Fargo questions →