Community生產力與協作github.com

andreworia/sensitivity-tornado

對關鍵輸出變數進行敏感度排名,並建立龍捲風圖,透過在定義範圍內調整每個輸入變數、計算輸出影響,產出水平長條圖資料結構。

sensitivity-tornado 是什麼?

此技能專為已建立模型且需辨識關鍵假設對輸出影響的團隊設計,特別適用於專案經理詢問「模型的主要風險是什麼?」、模型審查需要敏感度摘要,或投資委員會想了解「最重要的假設為何?」等情境。它會在模型建立的最終階段被觸發,作為模型呈報或簽核前的最後診斷工具。技能會產出完整的龍捲風圖分析:識別所有待測試的輸入變數、定義每個變數的擺動範圍、計算每個擺動對輸出的影響(包含上行與下行效果),並根據絕對影響力對變數進行排序,最後在 Excel 中指定可產生龍捲風圖的水平長條圖資料結構。支援的平台包括 Excel 及一般財務模型,運作方式依循標準的敏感度分析流程,包含變數清單、擺動範圍定義、輸出影響計算及圖表建置,最終產出可稽核的結果,幫助團隊將分析資源集中在最重要的 3-5 個關鍵假設上。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/andreworia/claude-excel-skills/tree/main/skills/sensitivity-tornado

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

敏感度龍捲風圖

使用時機

當模型已建置完成,團隊需要在投入進一步分析工作前,識別哪些假設實際驅動輸出時,使用此技能。當專案經理詢問「模型的主要風險是什麼?」、模型審查需要敏感度摘要,或投資委員會詢問「最重要的假設為何?」時,觸發此技能。它在建模練習的最後階段最有價值,作為模型呈報或簽核前的最終診斷工具。

功能說明

產出完整的龍捲風圖分析:識別所有待測試的輸入變數、定義每個變數的擺動範圍、計算每個擺動對輸出的影響(包含上行與下行效果)、根據絕對影響力對變數進行排序,並在 Excel 中指定可產生龍捲風圖的水平長條圖資料結構。根據假設對輸出不確定性的貢獻程度進行排序。

方法

  1. 識別要進行敏感度分析的關鍵輸出。 龍捲風分析一次只專注於一個輸出。定義哪個輸出與決策最相關:EBITDA、IRR、權益價值、NPV、五年營收或其他關鍵指標。若有多個輸出相關,則每個輸出建立一個龍捲風圖。

  2. 列出所有候選輸入變數。 彙整模型中所有符合以下條件的重大假設:(a) 具有不確定性,且 (b) 可能對輸出產生重大影響。財務模型的起始清單:營收成長率、毛利率、EBITDA 利潤率、客戶獲取成本、客戶流失率、資本支出強度、營運資金天數、WACC 或折現率、終值成長率、退出倍數、匯率、稅率。目標為 8-15 個變數。

  3. 定義每個變數的擺動範圍。 針對每個輸入變數,定義代表可信範圍的低值與高值。標準做法為:變數的正負一個標準差、或正負基準值的 10-20%、或特定的情境範圍(例如「管理層指引下限」至「管理層指引上限」)。關鍵原則:為了可比性,擺動應圍繞基準呈對稱,但如果分布確實偏斜,可以不對稱。

  4. 一次一個變數,計算每個擺動的輸出。 對每個變數: a. 將變數設定為其低值,其他所有變數維持基準值。記錄輸出值。標記為「低值影響」。 b. 將變數設定為其高值,其他所有變數維持基準值。記錄輸出值。標記為「高值影響」。 c. 在測試下一個變數前,將變數重設回基準值。

    在 Excel 中,可以手動執行(逐一變更每個輸入儲存格,在表格中記錄輸出),或針對每個變數使用單變數資料表進行系統性操作。對於較大的變數集合,建議使用資料表方法,因為當模型變更時,它會自動重新計算。

  5. 計算每個變數的影響。 影響 = 高值輸出 - 低值輸出(針對「越高越好」的輸出)。絕對影響 = ABS(高值輸出 - 低值輸出)。依絕對影響降序排序變數。絕對影響最大的變數應位於龍捲風圖的最上方。

  6. 建立龍捲風資料表。 在 Excel 中設定以下欄位:

    A 欄:變數名稱。 B 欄:基準輸出值(所有列相同,參照輸出儲存格)。 C 欄:低值輸出(此變數設定為低值時的輸出)。 D 欄:高值輸出(此變數設定為高值時的輸出)。 E 欄:低值影響 = 低值輸出 - 基準輸出(若低擺動減少輸出,則為負值)。 F 欄:高值影響 = 高值輸出 - 基準輸出(若高擺動增加輸出,則為正值)。 G 欄:絕對影響範圍 = ABS(高值輸出 - 低值輸出)。用於排序。

    依 G 欄降序排序表格。第一列為影響最大的變數。

  7. 將龍捲風圖建立為水平長條圖。 Excel 沒有原生的龍捲風圖類型。使用堆疊長條圖來建立:

    資料數列 1(不可見基底):此數列用於正確定位長條。對每個變數,不可見基底 = MIN(低值輸出, 高值輸出) - 一個小的偏移量以使圖表居中。或者,基底 = 低擺動為負值時的變數的低值輸出值。

    更簡單的方法:建立兩個以零為中心的資料數列。對每個變數:下行長條 = 低值影響(負數)。上行長條 = 高值影響(正數)。將類別軸(X 軸)設定為交叉於 0。

    結果是一個以零為中心的「蝴蝶」長條圖。長條越長,表示輸出對該變數越敏感。

  8. 對列進行排序,使影響最大的變數位於最上方。 在 Excel 長條圖中,類別會以與資料表相反的順序顯示。對資料表進行排序,使影響最小的變數位於第 1 列,影響最大的位於最後一列。這可確保圖表顯示時影響最大的變數在最上方(這是龍捲風圖的慣例)。

  9. 套用色彩編碼。 將下行長條格式化為紅色,上行長條格式化為藍色(或綠色)。移除格線。移除圖表邊框。這可建立一個乾淨、專業的龍捲風圖。

  10. 新增變數標籤與影響值。 為每個長條新增資料標籤,顯示輸出值(或影響值)。新增變數名稱作為 Y 軸類別標籤。使用覆蓋在長條圖上的散佈圖數列,在 x=0(基準案例)處新增垂直參考線。

  11. 解讀龍捲風圖。 龍捲風圖中的前 3-5 個變數是模型的關鍵假設。這些變數需要:最謹慎的估計與驗證、在董事會簡報中呈現敏感度範圍,以及如果模型是即時規劃工具,則需持續監控。龍捲風圖下半部的變數相對不重要,為簡化可固定為基準值。

  12. 記錄擺動假設。 在龍捲風資料表的同一個分頁,新增一欄顯示擺動假設:例如「低值:基準 - 2pp;高值:基準 + 2pp」。這使分析可稽核,並讓其他人無需開啟輸入分頁即可了解敏感度範圍的基礎。

輸入

  • 包含關鍵輸出儲存格的已完成財務或策略模型
  • 待測試的輸入變數清單(或從輸入分頁提取所有輸入的權限)
  • 每個變數的擺動範圍(或統一套用基準值 +/- 10-15% 的預設值)
  • 關鍵輸出儲存格參照與單位

輸出格式

一份完整的龍捲風分析規格,包含:

  1. 含擺動範圍的變數清單:變數名稱 | 基準值 | 低值 | 高值 | 擺動理由。每個變數一行。
  2. 龍捲風資料表:變數 | 基準輸出 | 低值輸出 | 高值輸出 | 低值影響 | 高值影響 | 絕對範圍。依絕對範圍降序排序。
  3. 前 5 大發現:命名影響最大的前 5 個變數,並量化其絕對影響。
  4. 圖表資料結構:兩個資料數列(下行與上行長條)、排序順序與軸設定。
  5. 圖表格式化指示:顏色、標籤、參考線方法。
  6. 解讀摘要:龍捲風圖揭示了關於模型不確定性的哪些資訊,以及應將分析重點放在何處。

範例

使用者說:「我有一個 DCF 模型。關鍵輸出:權益價值。基準權益價值 = 1.25 億美元。測試這些變數:營收 CAGR(基準 15%)、EBITDA 利潤率(基準 22%)、WACC(基準 12%)、終值成長率(基準 3%)、資本支出佔營收百分比(基準 5%)、客戶流失率(基準 8%)。」

Claude 回應:

擺動範圍:

| 變數 | 基準 | 低值 | 高值 | | 營收 CAGR | 15% | 10% | 20% | | EBITDA 利潤率 | 22% | 18% | 26% | | WACC

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

andreworia/assumption-registry-builder

Creates a structured assumption register for any Excel model with columns for name, category, base value, source, Bull/Bear values, sensitivity rank, and owner, plus a formula for computing sensitivity rank from Data Table outputs.

andreworia/data-cleaning-for-excel

Turns pasted or exported data with mixed formats, blank rows, or duplicates into a clean, consistently formatted range ready for analysis. Use it right after pasting raw data into a worksheet.

andreworia/formula-audit-checker

Provides a systematic audit checklist for Excel model formula logic, hardcoded values, circular references, and error handling, with step-by-step instructions for using Excel's native auditing tools.

andreworia/inputs-calcs-outputs-design

Enforces the three-tab separation principle for any Excel model, producing a full design for a dedicated Inputs tab, one or more Calculations tabs, and a clean Outputs tab with a conventions checklist.

andreworia/model-architecture-template

Defines the master tab structure, naming conventions, color codes, number formats, and print area setup for any new strategy or finance Excel model, serving as the structural template before any content is added.

andreworia/output-summary-tab

Designs the executive summary tab of an Excel model with KPI tiles, a narrative block, a sensitivity summary, and an assumption log, formatted for print or screenshot use in a board pack.

andreworia/pivot-table-builder

Specifies and builds a pivot table from a flat data range, choosing rows, columns, values, and filters. Use it when you have raw tabular data and need a summary view without building it cell by cell.

andreworia/revenue-build

Builds a driver-based revenue forecast .xlsx with live formulas across separate drivers, build, and output tabs plus checks, rolling a customer or units schedule (beginning, adds, churn, ending) into revenue with Base/Bull/Bear scenario toggles. Use when someone needs a bottom-up revenue model, an ARR build, or a driver-based forecast for planning or a board deck. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

andreworia/scenario-manager

Builds a Base/Bull/Bear scenario switching layer for a model in a .xlsx with a live selector, CHOOSE or INDEX assumption links, a side-by-side output comparison, and a recalc check, then delivers the workbook. Use when someone wants an auditable scenario toggle instead of Excel's hidden Scenario Manager. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

andreworia/sensitivity-tables

Builds one- and two-variable sensitivity (Data Table) analysis on a model output in a .xlsx with live formulas and a recalc check, then delivers the workbook. Use when someone wants to see how an output (NPV, IRR, EPS, margin) moves as one or two inputs change. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

andreworia/unit-economics

Builds a unit-economics and cohort .xlsx with live formulas across separate assumptions, cohort, and output tabs plus checks, computing CAC, LTV, LTV/CAC, and CAC payback from a monthly cohort retention grid. Use when someone needs unit economics, an LTV/CAC analysis, a payback model, or a cohort retention build. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

相關技能