Using Lambda to create a Loan Amortization Table

aryan1997

New Member
Joined
Jun 14, 2022
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have created a partial formula that calculates the amount of EMI going towards interest and principal. I am, however, looking to calculate the outstanding balance after each period as well. The formula for outstanding balance for each period would be - Example

Period 1 ost bal = Loan value - Principal in Period 1
Period 2 ost bal = Period 1 ost bal - Principal in Period 2


Would appreciate any help or ideas on how to go about referring to previous periods in my formulas. Bonus would be if I can combine all of these columns together to show EMI, principal, interest and ost bal all at once.

Thanks.

Note: I have access to Office 365 version of excel.


Book5
ABCDE
1Loan Amort Formula
2Loan Value10,000,00070,833
3Tenure (Yrs)1570,638
4Interest Rate8.50%70,440
5Start Date1/1/201670,242
670,042
769,840
869,638
969,433
1069,228
1169,020
1268,812
1368,602
1468,390
1568,177
1667,962
1767,746
1867,529
1967,309
2067,089
2166,866
2266,643
2366,417
2466,190
2565,961
2665,731
2765,499
2865,266
2965,030
3064,793
3164,555
3264,315
3364,073
3463,829
3563,584
3663,336
3763,087
3862,837
3962,584
4062,330
4162,074
4261,816
4361,557
4461,295
4561,032
4660,767
4760,500
4860,231
4959,960
5059,687
5159,412
5259,135
5358,857
5458,576
5558,294
5658,009
5757,722
5857,434
5957,143
6056,850
6156,555
6256,258
6355,959
6455,658
6555,355
6655,050
6754,742
6854,432
6954,120
7053,806
7153,490
7253,171
7352,850
7452,527
7552,201
7651,874
7751,544
7851,211
7950,876
8050,539
8150,200
8249,858
8349,513
8449,167
8548,817
8648,466
8748,111
8847,755
8947,395
9047,034
9146,669
9246,302
9345,933
9445,561
9545,186
9644,808
9744,428
9844,045
9943,660
10043,272
10142,881
10242,487
10342,090
10441,691
10541,289
10640,884
10740,476
10840,065
10939,651
11039,234
11138,815
11238,392
11337,967
11437,538
11537,106
11636,672
11736,234
11835,793
11935,349
12034,902
12134,452
12233,998
12333,541
12433,081
12532,618
12632,152
12731,682
12831,209
12930,732
13030,253
13129,769
13229,283
13328,793
13428,299
13527,802
13627,301
13726,797
13826,290
13925,778
14025,263
14124,745
14224,222
14323,697
14423,167
14522,633
14622,096
14721,555
14821,010
14920,462
15019,909
15119,353
15218,792
15318,228
15417,659
15517,087
15616,510
15715,930
15815,345
15914,756
16014,163
16113,566
16212,965
16312,359
16411,749
16511,135
16610,516
1679,893
1689,266
1698,634
1707,997
1717,356
1726,711
1736,061
1745,406
1754,747
1764,083
1773,415
1782,741
1792,063
1801,380
181693
Sheet1
Cell Formulas
RangeFormula
E2:E181E2=LET(LV,B2,tenure,B3,interestrate,B4,startdate,B5, emi,-PMT(interestrate/12,tenure*12,LV), periodseq,SEQUENCE(180,1,1,1), interest,-IPMT(interestrate/12,periodseq,COUNT(periodseq),LV), Principal,emi-interest, interest )
Dynamic array formulas.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Upon further research on the lambda forums page, I found exactly what I was looking for. This is great!

Here is the link - AMORTIZE
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top