Formualizer Docs

GROWTH

Returns fitted values from an exponential trend model.

GROWTH fits y = b * m^x by linearizing in log space, then returns predictions for new_x.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=GROWTH(known_ys, [known_xs], [new_xs], [const])

Arguments

ArgumentTypeRequiredDefault
known_ysnumber (range)Required—
known_xsnumber (range)Optional—
new_xsnumber (range)Optional—
constnumber (range)Optional—

Remarks

  • All known y-values must be strictly greater than 0.
  • known_x defaults to 1..n; new_x defaults to known_x. Several variables are laid out as in TREND.
  • const defaults to TRUE; set to FALSE to force b = 1.

Error cases

  • Returns #NUM! for non-positive y-values, #VALUE! for non-numeric data and #REF! for incompatible shapes.

Examples

Fit three unevenly growing observations using default x values.

Formula =GROWTH({2;4;7})

Expected result {2.04500945440301; 3.82586236554478; 7.15753309041052}

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Predict two new observations with explicitly supplied x values.

Formula =GROWTH({2;4;8},{1;2;3},{4;5},TRUE)

Expected result {16; 32}

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Predict at the first of two known x values.

Formula =GROWTH({2;4},{1;2},{1})

Expected result 2

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

The known x and y arrays must have corresponding observations.

Formula =GROWTH({2;4;8},{1;2},{4})

Expected result #REF!

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Exponential growth forecast

Formula =GROWTH({2,4,8},{1,2,3},{4,5})

Expected result {16, 32}

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Default x-values with perfect doubling pattern

Formula =GROWTH({3,6,12})

Expected result {3, 6, 12}

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Implementation

Engine source

On this page