How to Calculate Payback Period in Excel (With Easy Steps)

 

Step 1 – Calculating Net Cash Flow

  • Input data. In this example, we’ll type Cash Inflows and Cash Outflows of 6 years. See the picture below.

=C5-D5
  • Press Enter.
  • Use AutoFill to complete the rest.


Step 2 – Determining Break-Even Point

The point of no profit and no loss is the break-even point. We obtain the break-even point of a project when the net cash flows exceed the initial investment.

  • Select cell D12.
  • Insert the formula:
=COUNTIF(E5:E10,"<0")

The COUNTIF function counts the number of years where the net cash flow is negative.

  • Press Enter to get the break-even point.


Step 3: Obtaining Last Negative Cash Flow

If our dataset is large, we won’t be able to find the last negative cash flow manually.

  • Click on cell D13.
  • Input the formula:
=VLOOKUP(D12, B5:E10, 4)
  • Press Enter.


Step 4 – Using VLOOKUP to Find Next Year’s Cash Flow 

  • Choose cell D14.
  • Type the formula:
=VLOOKUP(D12+1, B5:E10, 2)
  • Press Enter to return the result.

calculate payback period in excel


Step 5 – Computing Fractional Year Value with ABS Function

  • Select cell D15.
  • Insert the formula:
=ABS(D13/D14)
  • Press Enter.

calculate payback period in excel


Step 6 – Calculating Payback Period

  • Click cell D16.
  • Type the formula:
=D12 + D15
  • Press Enter.
  • You’ll get the accurate payback period in years.

calculate payback period in excel

  • To convert it to months, in cell D17, input the formula:
=D16*12
  • Press Enter to get the output in months format.

calculate payback period in excel


Step 7 – Inserting Chart to Show Payback Period in Excel

  • Choose the ranges B5:B10 and E5:E10 (hold Ctrl while selecting).

calculate payback period in excel

  • Go to Insert, select Line Chart, and choose 2-D Line Chart with Markers.

calculate payback period in excel

  • In that chart, you’ll see the approximate value where the series crosses the X-axis which is the payback period.
  • But with this chart, we can’t get the exact value as we have shown earlier.

calculate payback period in excel

Here’s how final output is displayed.

calculate payback period in excel


Download Practice Workbook

Download the following template to practice by yourself.


Related Articles


<< Go Back to Excel Cash Flow Formula | Excel Formulas for Finance | Excel for Finance | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!

3 thoughts on “How to Calculate Payback Period in Excel (With Easy Steps)

  1. Hello, the computation of the fraction year value doesn’t work if the first positive CF has a smaller absolute value than the last negative CF. How do I adjust the formula?

    1. Hello Nafez,

      You are most welcome and thanks for you invitation to visit Qatar.

      Regards
      ExcelDemy

Leave a Reply

Your email address will not be published. Required fields are marked *

Advanced Excel Exercises with Solutions PDF