開始使用免費開始

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 F is less than or equal to the adjusted payment B24 plus the interest for the period, use the opening balance plus interest.
  • In all other cases, use the PMT() function.

本練習屬於課程

在 Google Sheets 進行貸款攤還

檢視課程

練習說明

  • Change the payments in column G to 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.

動手互動練習

將理論付諸實踐,立即體驗我們的互動練習

開始練習