SERIESSUM
Evaluates a power series from coefficients, start power, and step.
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
=SERIESSUM(x, n, m, coefficients)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
x | number | Required | — |
n | number | Required | — |
m | number | Required | — |
coefficients | any | Required | — |
Remarks
- Computes
sum(c_i * x^(n + i*m))in coefficient order. - Coefficients may be supplied as a scalar, array literal, or range.
- Errors in
x,n,m, or coefficient values are propagated.
Examples
Sum three terms with powers that increase by one at each coefficient.
Formula =SERIESSUM(2,1,1,{1,2,3})
Expected result 34
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?.
Start at the constant term and increase each power by two.
Formula =SERIESSUM(2,0,2,{1,2,3})
Expected result 57
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?.
Evaluate the series with just one coefficient.
Formula =SERIESSUM(2,0,1,{5})
Expected result 5
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?.
A nonnumeric coefficient interrupts the series.
Formula =SERIESSUM(2,0,1,{1,"invalid",3})
Expected result #VALUE!
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?.
Series from an array literal
Formula =SERIESSUM(2,0,1,{1,2,3})
Expected result 17
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?.
Series from worksheet coefficients
Formula =SERIESSUM(0.5,1,2,A1:A3)
| A | |
|---|---|
| 1 | 1 |
| 2 | -1 |
| 3 | 0.5 |
Expected result 0.390625
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?.
Related functions
FAQ
In what order are SERIESSUM coefficients applied?
Coefficients are consumed in input order as c_ix^(n+im).