一、案例定位

依原書 Figure 12-3~12-6,把 fixed asset register 與 budget wishlist 的採購金額分配到正確月份,並用 reconciliation + Data Validation 阻止日期輸入錯誤。

二、學習目標

三、案例情境

上半部資料來自 fixed assets register,下半部是來年 wish list。每筆 asset 的 total spend 必須只出現在一個正確月份,且 schedule totals 必須與原始 CapEx total 完全一致。

四、開始資料

步驟 原書公式/設定
Line Item Total E4 =D4*C4,向下複製至 row 24
Current-Year Month H4 =IF($F4=H$2,$E4,0)
Prior Period G4 =IF(F4<=Start,E4,0)
G4 Result $5,250

五、Excel/VBA 分析方法

H4:S24 使用一致的 mixed-reference formula;G4:G10 處理 Start 以前的既有資產。E25 與 G25:S25 分別彙總原始 spend 與時間軸 spend,再用 E26 reconciliation。

六、計算結果

檢查 公式/結果
Schedule Error Check =E25-SUM(G25:S25) → 0
測試:F12 = Oct-24 超出 budget range,error check 被觸發
測試:F12 = Oct 15, 2023 row 2 是每月 1 日,因此該日期不會被 equality formula 撿到

七、結果分析與管理解讀

這個案例顯示 error check 不只抓公式錯,也能抓使用者輸入錯。原書最終偏好「預防錯誤」而非事後修正:F4:F24 使用 Data Validation list,來源為 $H$2:$S$2,只允許有效月份。

八、AI Prompt

請檢查 CapEx cash schedule 的三層控制:monthly IF formula、E26 reconciliation、Data Validation。說明它們各自防止哪一類錯誤。

九、思考/What-if

**問題:**為什麼輸入 Oct 15, 2023 仍可能讓 schedule 漏掉該筆 spend?