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 Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Sort Data but Keep Blank Rows in Excel and Google Sheets

Using a dynamic array formula or the FILTER command, we can sort data and...

Lookup Values Under Categories in Excel and Google Sheets

We can use a combination of XLOOKUP and VLOOKUP in both Excel and Google...

Extract Items Under a Category from the Same Column in Excel

In Excel, you can use a combination of the XLOOKUP and DROP functions to...

How to Create a Searchable Table in Excel Using the FILTER Function

Finding specific records, or rows containing the required information, is straightforward in Excel using...

More like this

XMATCH Row by Row: Finding Values Across a Range in Google Sheets

Using the BYROW function with XMATCH in Google Sheets allows us to match values...

Limit Formula Expansion to a Specific Row in Google Sheets

In this tutorial, I’ll explain how to limit the expansion of an array formula...

3-D Referencing Structured Data Tables in Google Sheets

When you have several tables within a single sheet—not across multiple sheets in a...

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.