d73ff9b0fb
Deploy Site / deploy-vercel (push) Has been cancelled
Deploy Site / deploy-docs (push) Has been cancelled
Docker / shell lint / Lint Dockerfile (hadolint) (push) Has been cancelled
Docker / shell lint / Lint docker/ shell scripts (shellcheck) (push) Has been cancelled
Docker Build and Publish / build-amd64 (push) Has been cancelled
Docker Build and Publish / build-arm64 (push) Has been cancelled
Lint (ruff + ty) / ruff + ty diff (push) Has been cancelled
Lint (ruff + ty) / ruff enforcement (blocking) (push) Has been cancelled
Lint (ruff + ty) / Windows footguns (blocking) (push) Has been cancelled
Nix Lockfile Fix / auto-fix-main (push) Has been cancelled
Nix Lockfile Fix / fix (push) Has been cancelled
Nix / nix (macos-latest) (push) Has been cancelled
Nix / nix (ubuntu-latest) (push) Has been cancelled
OSV-Scanner / Scan lockfiles (push) Has been cancelled
Build Skills Index / build-index (push) Has been cancelled
Tests / test (1) (push) Has been cancelled
Tests / test (2) (push) Has been cancelled
Tests / test (3) (push) Has been cancelled
Tests / test (4) (push) Has been cancelled
Tests / test (5) (push) Has been cancelled
Tests / test (6) (push) Has been cancelled
Tests / e2e (push) Has been cancelled
uv.lock check / uv lock --check (push) Has been cancelled
Docker Build and Publish / merge (push) Has been cancelled
Build Skills Index / trigger-deploy (push) Has been cancelled
Tests / save-durations (push) Has been cancelled
41 lines
1.5 KiB
Markdown
41 lines
1.5 KiB
Markdown
# DCF Model Troubleshooting Guide
|
|
|
|
**When to read this file:** If recalc.py shows errors OR valuation results seem unreasonable OR case selector not working properly.
|
|
|
|
## Model Returns Error Values
|
|
|
|
### #REF! Errors
|
|
- Usually caused by formulas referencing wrong rows after headers were inserted
|
|
- Solution: Rebuild with correct row references, or start over following layout planning
|
|
- Prevention: Define all row positions BEFORE writing formulas
|
|
|
|
### #DIV/0! Errors
|
|
- Division by zero or empty cells
|
|
- Solution: Add IF statements to handle zeros: `=IF([Divisor]=0,0,[Numerator]/[Divisor])`
|
|
|
|
### #VALUE! Errors
|
|
- Wrong data type in calculation (text instead of number)
|
|
- Solution: Verify all inputs are formatted as numbers
|
|
|
|
## Valuation Seems Unreasonable
|
|
|
|
### Implied price far too high
|
|
- Check terminal value isn't >80% of EV
|
|
- Verify terminal growth < WACC
|
|
- Review if growth assumptions are realistic
|
|
- Consider if margins are too optimistic
|
|
|
|
### Implied price far too low
|
|
- Verify net debt vs net cash is correct
|
|
- Check if WACC is too high
|
|
- Review if projections are too conservative
|
|
- Consider if terminal growth is too low
|
|
|
|
## Case Selector Not Working
|
|
|
|
### Consolidation column not updating when switching scenarios
|
|
- Verify case selector cell contains 1, 2, or 3
|
|
- Check INDEX/OFFSET formulas reference correct row range and selector cell
|
|
- Ensure absolute references ($B$6) are used for selector
|
|
- Test by manually changing the selector cell and verifying projection values update
|