一、案例定位

依原書 Figure 8-6~8-8,建立 one-input Data Table,讓多個 sales-price assumptions 的 profit margin outputs 同時顯示。

二、學習目標

三、案例情境

原書 profitability model 要測試 profit margin 對 sales price 的敏感度。Data Table 的不同 price inputs 放在 column A;output link 放在 B9,連到 Summary!B9 profit margin;原始 sales-price input cell 是 A4。

四、開始資料

Data Table 元件 原書設定
Output link cell B9 = ='Summary'!B9
Sensitivity inputs Column A
Original Sales Price Input A4
Data Table Range A9:B15

五、Excel/VBA 分析方法

選取 A9:B15 → Data → What-If Analysis → Data Table。因測試 values 垂直排列在 column A,所以使用 Column input cell,連到原始 sales-price input A4。

六、計算結果

設定判斷 結果
Values 排在 column 使用 Column input cell
Column input cell A4
Data Table output 每個 sales price 對應一個重新計算後的 Profit Margin

七、結果分析與管理解讀

Data Table 的價值是一次把多個 sensitivities 並排顯示,不需要手動改 price、抄結果、再改回去。但它比一般公式難 audit,Trace Precedents/Dependents 也不容易使用。

八、AI Prompt

請根據 A9:B15、B9=Summary!B9、sales price input A4,解釋 one-input Data Table 為什麼要使用 Column input cell,而不是 Row input cell。

九、思考/What-if

**問題:**若 sensitivity values 改成水平排列在一列,應改用哪個欄位?