How to Create Credit Card Payoff Calculator with Snowball in Excel

In this article, we will demonstrate how to create a credit card payoff calculator in Excel using the snowball method.


Debt Snowball Method

When a borrower has more than one debt and repays them by paying off the smallest debts first, we call this technique the “snowball” method. As an example, suppose you have three outstanding debts of $10, $20, and $30, with a minimum payment of $2 in each installment. Using the snowball method, you would pay the total minimum amount of $6, and allocate any additional repayment amounts towards the $10 debt first.

After repaying the the lowest debt, the second-lowest debt will be paid off next, creating a snowball effect. The opposite technique, where the largest debt is repaid first, is called the “avalanche” method.


How to Create a Credit Card Payoff Calculator Using the Snowball Method in Excel

Here is a quick look at the credit card payoff calculator using the snowball method, which we will create in this tutorial.

Create Credit Card Payoff Calculator Excel Snowball


Step 1 – Setting up the Essentials

First we’ll input information about the debt, the additional amount to be repaid each month, and a one-time payment. We’ll assume there are 3 debts to be repaid.

  • Add a table, containing the following information for each of the 3 debts:
    • Balance → The total outstanding debt.
    • Payment → The minimum amount that needs to be paid off per month.
    • Interest → The annual interest rate.
  • Add another table for repayment details with the following information:
    • Per Month → The amount we will pay on top of the minimum payment.
    • One Time → Any additional one-time payment we might make.

Create Credit Card Payoff Calculator Excel Snowball 2


Step 2 – Calculating the First Debt Payoff

Now we find the repayment amount for the first debt using the IF function.

  • Enter the following formula in cell C11:

=IF(H5+H6>=C5,C5,H5+H6+C6)

  • Here, if the total amount of the additional payment is more than that of the balance of debt 1, the formula will return the balance from debt 1, else it will add the values of the additional payment and the minimum payment for debt 1.

Create Credit Card Payoff Calculator Excel Snowball 3

  • Enter the following formula in cell D11 to find the balance:

=IF(C5-C11<0,0,C5-C11)

Create Credit Card Payoff Calculator Excel Snowball 4

Next, we will create a formula to find the payment values for the second month.

  • Enter the following formula in cell C12:

=IF(D11-$H$5-$C$6<=0,$H$5+D11-$H$5,$H$5+$C$6)

Create Credit Card Payoff Calculator Excel Snowball 5

Next, we will find the Balance value for the second month. We divide the yearly interest rate by 12 to find the monthly interest rate.

  • Enter the following formula in cell D12:

=IF(D11-C12<=0,0,(D11-C12)*(1+($C$7/12)))

Create Credit Card Payoff Calculator Excel Snowball 6

Create Credit Card Payoff Calculator Excel Snowball 7

Read More: How to Create a Credit Card Payoff Spreadsheet in Excel


Step 3 – Calculating the Second Debt Payment

Next, we will find the credit card payoff for the second debt.

  • Enter this formula in cell E11:

=IF(H5+H6>=C5+D5,D5,IF(AND(C11=C5,C11<>0),H5+H6-D5+D6,D6))

Create Credit Card Payoff Calculator Excel Snowball 8

  • Enter this formula in cell F11:

=D5-E11

Create Credit Card Payoff Calculator Excel Snowball 9

  • Enter this formula in cell E12:

=IF(AND(((F11-$H$5+C12-D$6-C$6)<=0),D12=0),F11,IF((F11-$D$6-$H$5)<=0,F11,IF(D12=0,$H$5-C12+D$6+C$6,D$6)))

Create Credit Card Payoff Calculator Excel Snowball 10

Formula Breakdown

  • AND(((F11-$H$5+C12-D$6-C$6)<=0),D12=0)
    • Output: False.
  • (F11-$D$6-$H$5)<=0
    • Output: False.
  • IF(D12=0,$H$5-C12+D$6+C$6,D$6)
    • Output: 160.
  • Reduces to → IF(FALSE,F11,IF((F11-$D$6-$H$5)<=0,F11,160))
    • Output: 160.
  • Enter this formula in cell F12:

=IF(F11-E12<0,0,(F11-E12)*(1+($D$7/12)))

Create Credit Card Payoff Calculator Excel Snowball 11

  • AutoFill the formulas from the range E12:F12 to the cells below to return the values for debt 2.

Create Credit Card Payoff Calculator Excel Snowball 12


Step 4 –  Finding the Third Debt Payment

Now we find the credit card payoff for the last debt using the snowball method.

  • Enter this formula in cell G11:

=IF(H5+H6>=D5+E5+C5,E5,IF(AND(E11=D5, E11<>0),H5+H6-D5-C5+E6,E6))

Create Credit Card Payoff Calculator Excel Snowball 13

  • Enter this formula in cell H11 to find the first balance:

=E5-G11

Create Credit Card Payoff Calculator Excel Snowball 14

  • Enter this formula in cell G12:

=IF(AND(((H11-$H$5+E12-E$6-D$6-C$6)<=0),F12=0),H11, IF((H11-$E$6-$H$5)<=0,H11,IF(F12=0,$H$5-E12+E$6+D$6+C$6,E$6)))

Create Credit Card Payoff Calculator Excel Snowball 15

Formula Breakdown

  • AND(((H11-$H$5+E12-E$6-D$6-C$6)<=0),F12=0)
    • Output: False.
  • (H11-$E$6-$H$5)<=0
    • Output: False.
  • IF(F12=0,$H$5-E12+E$6+D$6+C$6,E$6)
    • Output: 250.
  • Reduces to → IF(FALSE,H11, IF(FALSE,H11,250))
    • Output: 250.
  • Enter this formula in cell H12:

=IF(H11-G12<0,0,(H11-G12)*(1+($E$7/12)))

Create Credit Card Payoff Calculator Excel Snowball 16

  • AutoFill the formula from the cell range G12:H12 to the cells below.

Create Credit Card Payoff Calculator Excel Snowball 17

  • Fill the formulas down to month 120 (10 years).

Payoff Calculator Excel Snowball 18


Step 5 – Applying VBA to Hide Extra Rows

We can easily hide the extra rows using Excel VBA macros. After that, we will use another VBA code to unhide the rows.

  • From the Developer tab → select Visual Basic (or press ALT+F11).
  • Click Insert, then select Module.

Payoff Calculator Excel Snowball 19

  • Enter the following code in the Module window that opens:
Option Explicit
Sub Hide_Rows()
    Dim Cell_Range As Range
    Application.ScreenUpdating = False
        For Each Cell_Range In Range("G11:G130")
            If Cell_Range.Value = 0 Then
                Cell_Range.EntireRow.Hidden = True        
            Else
                Cell_Range.EntireRow.Hidden = False
            End If
        Next Cell_Range
    Application.ScreenUpdating = True
End Sub
Sub Unhide_Rows()
    Rows.EntireRow.Hidden = False
End Sub

VBA Macro

VBA Code Breakdown

  • We have two Sub procedures in this VBA code. The first one hides the rows that have 0 in the range G11:G130. We use a For Each Next loop to iterate through all the cell ranges.
  • The last Sub simply unhides all the rows in the active sheet.
  • Save and Close the Module.

Now we’ll insert two buttons to execute the macros.

  • From the Developer tab → Insert → select Button (under Form Controls).

Insert Button

  • Drag the cursor to create a box.
  • Repeat this process to create a second box.

Drag

We have two buttons in the dataset.

Buttons 2

Now, we will assign macros to the buttons.

  • Right-click on “Button 1” and select Assign Macro.

Assign Macro

  • Select Hide_Rows and click OK.

Hide Rows Macro

  • For the second button, select Unhide_Rows and click OK.

Assign Unhide Macro

  • Change the button labels to Hide and Unhide respectively.

Now, if we press the Hide button, the extra rows will be hidden.

Row Hidden

Click on the Unhide button to unhide the rows.

Row Unhide

Our snowball credit card payoff calculator is complete.


Download Practice Workbook


Related Articles


<< Go Back to Credit Card Payoff CalculatorFinance TemplateExcel Templates

Get FREE Advanced Excel Exercises with Solutions!
Rafiul Haq
Rafiul Haq

Rafiul Haq worked as an Excel and VBA Content Developer in Exceldemy for over two years and published almost 200 articles for the website. He is passionate about exploring new aspects of Excel and VBA. He received his Bachelor of Science in Mechanical and Production Engineering (MPE) from the Islamic University of Technology. Rafiul furthered his education by obtaining an MBA in Finance from the Institute of Business Administration (IBA) at the University of Dhaka. Apart from creating... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo