1. Home
  2. Functions
  3. Statistical
  4. LOGEST

LOGEST function

Fits an exponential curve y = b * m^x to the data and returns its coefficients and optional statistics.

Syntax

=LOGEST(known_ys, [known_xs], [const], [stats])

Arguments

ArgumentRequiredDescription
known_ysRequiredThe dependent values (positive)
known_xsOptionalThe independent values (1, 2, 3... when left out)
constOptionalTRUE or left out to calculate b, FALSE to force b to 1
statsOptionalTRUE to also return the regression statistics

How to use LOGEST

When LOGEST returns more than one value, the result spills into the cells below and to the right. Keep those cells empty, or you get #SPILL!.

LOGEST takes 1 required argument and 3 optional arguments. Type =LOGEST( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=LOGEST({33100;47300;69000;102000;150000;220000}, {11;12;13;14;15;16})Result 1 by 2 array
Spilled result
AB
11.463275628495.3047702
=LOGEST({2;4;8})Result 1 by 2 array
Spilled result
AB
121

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.