一、案例定位

依原書 circular-reference error example,處理錯誤值進入 circular loop 後即使修正原始輸入,#VALUE! 仍可能被困在迴路中的情況。

二、學習目標

三、案例情境

原書在 debt issuance cell G13 輸入文字 test,使 circular loop 擴散 #VALUE!。即使把 G13 修回正確數字,錯誤可能仍留在 circular chain 中。

四、開始資料

步驟 動作
1 先修正造成 #VALUE! 的原始輸入
2 暫時刪除 Income Statement projected Interest Expense/Interest Income links
3 讓 Excel 在沒有 circular loop 的狀態下重新計算
4 Undo/重新連回 Interest Expense 與 Interest Income formulas
5 必要時使用 F9 重新計算

五、Excel/VBA 分析方法

核心不是覆寫更多 cells,而是暫時把 circular chain 打開。原書示範移除 Income Statement projected interest rows 的 links,讓 dependent cells 恢復 numeric values,之後再還原 formulas,使 iterative calculation重新收斂。

六、計算結果

修復後模型應重新得到 numeric Debt Schedule/Income Statement/Cash Flow results,而不是持續顯示 #VALUE!。原書將這個方法作為 circular model 的實務 debugging 技巧。

七、結果分析與管理解讀

普通 spreadsheet error 常可直接修 source cell;circular model 不一定如此,因為 error 已成為每一輪 iteration 的 input。暫時切斷 loop 是讓模型重新取得乾淨 starting state 的方式。

八、AI Prompt

請依原書 #VALUE! circular-reference example,整理一個五步驟 recovery checklist,並解釋為什麼單純修正 G13 可能不足以清除錯誤。

九、思考/What-if

**問題:**若切斷 circular links 後模型已恢復 numeric values,但重新連回 interest formulas 後再次出現 #VALUE!,下一步應先檢查什麼?