FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

IRR in Google Sheets

IRR with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the IRR Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

A simple project

A
1Cash flow
2-1000
3400
4400
5400

Formula: C2: =ROUND(IRR(A2:A5),4)

Result: 0.097

Paying 1,000 and receiving 400 three times earns 9.7% a period.

Starting the search elsewhere

A
1Cash flow
2-1000
3300
4400
5500

Formula: C2: =ROUND(IRR(A2:A5,0.2),4)

Result: 0.089

The guess of 20% only sets where the iteration starts, and the answer is the same rate it would find from 10%.

No sign change

A
1Cash flow
2100
3200
4300

Formula: C2: =IRR(A2:A4)

Result: #NUM!

All flows are positive, so no discount rate can bring them to zero.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in D2: =IRR(B2:B6)

Example spreadsheet for IRR
ABCD
1YearCash flowResult
20-100000.151064041897
313000
424000
534500
642500
Result in D2: 0.151064041897
Practice this in a lesson: Payback: NPV and IRR

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.