How to Use the RRI Function in Google Sheets

Published on

We can use the RRI function in Google Sheets for calculating the compound annual growth rate, aka CAGR, of an investment. So you won’t find any CAGR function in it.

In other words, use the RRI function in Google Sheets to calculate the interest rate needed for an investment to grow from its beginning balance (present value) to its ending balance (future value).

Even though there is a function, you can calculate the compound annual growth rate using the below CAGR formula in Google Sheets.

CAGR = (future_value/present_value^(1/number_of_years))-1

For example, consider the below input values.

Nper = 5 (number of period)

Fv = 15,000 (future value)

Pv = 10,000 (present value)

We can use the following CAGR formula to return the compound annual growth rate of the above investment which will be 8.45%.

=((15000/10000)^(1/5))-1

We can calculate the CAGR easily using the Google Sheets RRI function.

But before going to that formula, let me introduce you to the syntax and arguments of this function in Google Sheets.

Syntax:

RRI(number_of_periods, present_value, future_value)

Arguments:

number_of_periods (Nper): The number of periods for the investment.

present_value (Pv): The present value of the investment.

future_value (Fv) – The future value of the investment.

Example to the RRI Function in Google Sheets:

RRI Function in Google Sheets - Example

See the RRI formula in the formula bar and the output (CAGR) in cell C6, which is in number format.

How to covert the CAGR formula output into percentage? Let’s find it.

How to Format the CAGR Formula Output into Percentage in Google Sheets

There are two ways, and here are them (I prefer the second one, though).

1. Using the Format Menu:

Make sure that the active cell is C6. Then, open the Formant menu, select ‘Number’ and then ‘Percent.’

Format RRI Ouput in Sheets

2. Using a Function:

I prefer the function To_Percent to format the RRI function result from number format to percentage format. Here is how.

=TO_PERCENT(rri(C2,C3,C4))

RRI Function in Google Sheets – Errors and Possible Reasons

Before concluding how to use the RRI function in Google Sheets, let me point out some of the errors that may surface when using it.

#NUM!1This error surfaces when any provided arguments except Nper are negative numbers.
2The same error will occur if Pv is 0.
#DIV/0!1If you happen to see it, make sure that the Nper is not 0 or blank.
#VALUE!1This error occurs when using string input values. You may note that the RRI function even accepts numbers formatted as text.

That’s all about the CAGR formula in Google Sheets. Enjoy!

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Expert Prashanth KV is a Diamond Product Expert in Google Sheets, officially recognized by Google for his contributions to the Docs Editors Help Community and featured in the Google Product Experts Directory. Explore his blog to learn advanced formulas, automation tips, and problem-solving techniques to elevate your spreadsheet skills.

Custom Order for QUERY Pivot Headers in Google Sheets

By default, when you use the PIVOT clause in a Google Sheets QUERY, the...

Calculate Trip Days by Month (Start, End, and Full Days) in Google Sheets

If you're managing business travel in Google Sheets, you may need to calculate how...

Mode of Comma-Separated Numbers in Excel (Dynamic Array)

There is no dedicated function in Excel to directly find the mode of comma-separated...

How to Find Mode of Comma-Separated Numbers in Google Sheets

Working with comma-separated numbers inside a single cell is a common scenario in Google...

More like this

Custom Order for QUERY Pivot Headers in Google Sheets

By default, when you use the PIVOT clause in a Google Sheets QUERY, the...

Calculate Trip Days by Month (Start, End, and Full Days) in Google Sheets

If you're managing business travel in Google Sheets, you may need to calculate how...

How to Find Mode of Comma-Separated Numbers in Google Sheets

Working with comma-separated numbers inside a single cell is a common scenario in Google...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.