Going Stellar

Home/Google Sheets reference

Google Sheets function · Statistical

GROWTH in Google Sheets: syntax and examples

GROWTH fits an exponential trend, y = b * m^x, to known y and x values and returns predicted y values. Use it for data that multiplies by a similar factor each period, such as users, sales or a compounding balance. With a range as input it returns an array.

Syntax

GROWTH(known_data_y, [known_data_x], [new_data_x], [b])

Arguments

ArgumentTypeRequiredWhat it does
known_data_yrangeyesThe observed y values. They must be positive for an exponential fit.
known_data_xrangenoThe matching x values. If omitted, 1, 2, 3, and so on are used.
new_data_xrangenoThe x values to predict. If omitted, the known x values are used.
bbooleannoTRUE (default) fits y = b * m^x. FALSE forces b to 1, so y = m^x.

Examples

The examples use this table, starting in A1:

MonthUsers
110
220
340
480
=GROWTH(B2:B5, A2:A5, 5)

Result: 160

Users double every month, so month 5 is predicted at 160.

Run in a Google Sheet (English US locale) on .

=GROWTH(B2:B5, A2:A5, {5; 6})

Result:

160
320

Two new x values at once: months 5 and 6, returned as a column.

Run in a Google Sheet (English US locale) on .

=GROWTH(B2:B5, A2:A5)

Result:

10
20
40
80

Without new_data_x it returns the fitted curve at the known x values.

Run in a Google Sheet (English US locale) on .

=GROWTH(B2:B5)

Result:

10
20
40
80

Without any x values, positions 1, 2, 3, 4 are assumed.

Run in a Google Sheet (English US locale) on .

=GROWTH(B2:B5, A2:A5, 5, FALSE)

Result: 467.8428381

With b = FALSE the fit is forced to y = m^x, and the forecast for month 5 moves from 160 to about 467.8.

Run in a Google Sheet (English US locale) on .

Common errors

  • Every known y must be positive. A negative or zero value, such as -20 or 0, returns #NUM!.
  • known_data_y and known_data_x must have the same number of values. A y list of three against an x list of two returns #REF!.
  • Setting b to FALSE forces y = m^x. On the sample data the month 5 forecast moves from 160 to about 467.8, so use FALSE only when the curve really starts at 1.
  • Without new_data_x the result has one value per known point, not a forecast. Pass the x values you want to predict.

Compared with Excel

Same syntax in Excel.

Sources

  1. GROWTH (Docs Editors Help)

Markdown version · All functions