Skip to content

Commit

Permalink
Update and rename Debt-schedule-hack to 2024-11-29-Hacking-Debt-sched…
Browse files Browse the repository at this point in the history
…ule-with-Lambda-in-Excel
  • Loading branch information
no-arbitrage authored Nov 29, 2024
1 parent 884c305 commit fff1b28
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,23 @@ tags: [template, return, portfolio, finance, diversification]
How to use one single formula to hack Debt schedule with CashSweep



Create a lambda function as below.


## Syntax
DebtSchedule(
[OpenBalance] = Debt Open Balance
[CashBalance] = Cash Open Balance
[CFArray] = Cashflow Array
[MandatoryAmort] = Mandatory Amortisation
[CashSweep] = % of available cash after mandatory amortisation allocated to optional amortisation
[PIKInterest] = PIK Interest, applied to the opening balance instead of the average balance
[CashInterest] = Cash interest applied to the average balance
)

# Activate Advanced Formula Environment
Insert the following in your advanced formula environment.
```typescript

DebtSchedule = LAMBDA(
Expand Down

0 comments on commit fff1b28

Please sign in to comment.