HomeGoogle DocsSpreadsheetHow to Use the RRI Function in Google Sheets

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.

Excel: Month Name to Number & Number to Name

This tutorial showcases the most efficient formulas for converting a month name to a...

Get the First or Last Row/Column in a New Google Sheets Table

If you've recently started using the new Google Sheets TABLE functionality, you may find...

UNIQUE Function in Visible Rows in Google Sheets

The UNIQUE function doesn't inherently include only visible rows when it returns values, discarding...

Customizing Alternating Colors of a Table in Google Sheets

Google Sheets' new table feature offers limited options for customizing colors. While you can...

More like this

Get the First or Last Row/Column in a New Google Sheets Table

If you've recently started using the new Google Sheets TABLE functionality, you may find...

UNIQUE Function in Visible Rows in Google Sheets

The UNIQUE function doesn't inherently include only visible rows when it returns values, discarding...

Customizing Alternating Colors of a Table in Google Sheets

Google Sheets' new table feature offers limited options for customizing colors. While you can...

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.