## Excel Tip: Calculating Interest

*By David H. Ringstrom, CPA*

Microsoft Excel is an ideal tool for calculating the cost of borrowing money, but are you doing so in the most efficient manner? In this article, I'll describe how you can use the CUMIPMT function to calculate interest expense for a loan, whether for a month, a year, or the length of the loan - all within a single worksheet cell. I'll also show you how to add an amortization schedule to any workbook with just a couple of mouse clicks.

Before I describe the CUMIPMT function, let's first take a look at the PMT function, which calculates the payment amount for a loan. PMT has 3 required and 2 optional arguments:

*- The interest rate for the loan expressed as a monthly rate.*

**rate***- The length of the loan in months.*

**nper***- The amount being borrowed, also referred to as the present value.*

**pv****- This optional argument allows you to specify a future value if a balloon amount is due at the end of the loan. Omitting this argument implicitly states that the loan is to be paid down to 0.**

*fv**- This optional argument allows you to specify if payments are made at the beginning of each period, or you can omit the argument to indicate that payments are made at the end of each period. You may also specify 0 in this position to explicitly indicate that payments are made at the end of each period.*

**type****Figure 1:**The PMT function calculates the monthly payment for a loan.

As shown in Figure 1, a monthly payment of $586.04 for 36 months is required to pay back $20,000 at an interest rate of 3.5 percent. The PMT function always returns a negative amount because Excel sees the payment as an outflow. I omitted the 2 optional arguments, so in this case, the PMT function assumes the loan is paid to 0 and payments are made at the end of each period.

You construct formulas using CUMIPMT in a similar fashion to PMT, but in this case, all 6 arguments are required:

*- The interest rate for the loan expressed as a monthly rate.*

**rate***- The length of the loan in months.*

**nper***- The amount being borrowed, also referred to as the present value.*

**pv****start_period**- The starting month from which to calculate interest on the loan. Use 1 to calculate interest from the start of the loan, or 13 to calculate interest for just the second year of the loan.

*- The ending month through which to calculate interest on the loan. Use the same value as the nper argument to calculate interest for the life of the loan, or 24 to calculate interest for just the second year of the loan.*

**end_period***- Specify 0 to indicate that payments are made at the end of the period, or 1 for payments made at the start of the period.*

**type****Figure 2:**The CUMIPMT function computes total interest for all or part of a loan.

As shown in Figure 2, the CUMIPMT function shows that borrowing $20,000 at 3.5 percent for 36 months will cost $1,097.50. Although not shown, the cost for the second year of the loan is $368.55. To calculate the principal paid back for a given portion of the loan, use CUMPRINC, which utilizes the same sequence of arguments as CUMIPMT.

HOT DISCUSSIONS

*19 hours 41 min*ago by Richard Koreto

*6 days 18 hours*ago by K Wells

*6 days 21 hours*ago by kosmas

*1 week 23 hours*ago by Richard Koreto

*1 week 5 days*ago by John Stokdyk