Fixing the payment function
So far in this chapter, you have not had to adjust the payment function. In this lesson, you will need to modify the payment for all periods (except 0 and 1) so that it can accurately limit the payment to not overpay on the final installment.
To achieve this, you will use an IFS function for 3 separate conditions:
- If the period is blank, the payment should be blank.
- If the opening balance in column
Fis less than or equal to the adjusted paymentB24plus the interest for the period, use the opening balance plus interest. - In all other cases, use the
PMT()function.
Den här övningen är en del av kursen
Låneamortering i Google Sheets
Övningsinstruktioner
- Change the payments in column
Gto correct for the final payment being less than the maximum. - Replace the value that is showing as -1 with the correct formula.
- Do not adjust any column other than column
G.
Interaktiv övning med praktiskt arbete
Gör teori till handling med en av våra interaktiva övningar
Starta övningen