重建原書 Figure 4-10~4-13 的 capital-budget error check,示範如何讓模型自動暴露未被排入 schedule 的金額。
原書的 capital budget 輸入總額為 124,700,但因使用者把一筆 estimated spend date 輸入成 Feb-23,而 schedule 只涵蓋 2022,最終只有 115,700 被配置進 schedule。
| 項目 | 數值 | 來源 |
|---|---|---|
| Total Capital Spend Input | 124,700 | 原書 |
| Total Scheduled Spend | 115,700 | 原書 |
| Unallocated Amount | 9,000 | 原書描述 |
| Invalid Date Example | Feb-23 | 原書 |
原書在 E1 使用 =L17-D17 比較 scheduled total 與 input total。依上述數字直接計算會得到 -9,000;原書文字則把警示金額描述為 $9,000。實務上可另外用 =ABS(L17-D17) 顯示 error magnitude,或清楚定義正負號意義。
| Check | Calculation | Result |
|---|---|---|
| Signed Difference | 115,700 − 124,700 | -9,000 |
| Error Magnitude | ABS(-9,000) | 9,000 |
| Model Status | Difference ≠ 0 | Error Triggered |
這個 check 的價值在於:使用者即使不知道哪一列錯,也能立即知道模型沒有完全 reconcile。原書另建議用醒目的 formatting/conditional formatting,讓 error 不會被忽略。
請只根據 Input 124,700、Scheduled 115,700 與 9,000 差額,說明 error check 為什麼被觸發,並指出 source formula =L17-D17 的 signed result 與書中文字所稱 9,000 magnitude 的差別。
**問題:**若修正日期後 Scheduled Spend 變為 124,700,error check 為何?