## 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.

Wait, there's more!

There's always more at AccountingWEB. We're an active community of financial professionals and journalists who strive to bring you valuable content every day. If you'd like, let us know your interests and we'll send you a few articles every week either in taxation, practice excellence, or just our most popular stories from that week. It's free to sign up and to be a part of our community.

HOT DISCUSSIONS

*1 week 5 days*ago by Jason Bramwell

*1 week 5 days*ago by Jason Bramwell

*3 weeks 19 hours*ago by mucar1990

*3 weeks 6 days*ago by JayPZee

*1 month 2 days*ago by Jason Bramwell

*1 month 5 days*ago by olaola

## Editor's Choice

WHAT KIND OF FIRM ARE YOU?

As part of our continued effort to provide valuable resources and insight to our subscribers, we're conducting this brief survey to learn more about your personal experiences in the accounting profession. We will be giving away five $50 Amazon gift cards, and a $250 Amazon gift card to one lucky participant.

*This is strictly for internal use and data will not be sold*

or shared with any third parties.

or shared with any third parties.