WorksheetFunction.SeriesSum method (Excel)
Returns the sum of a power series based on the following formula:
Syntax
expression.SeriesSum (Arg1, Arg2, Arg3, Arg4)
expression A variable that represents a WorksheetFunction object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Arg1 | Required | Variant | X - the input value to the power series. |
Arg2 | Required | Variant | N - the initial power to which you want to raise x. |
Arg3 | Required | Variant | M - the step by which to increase n for each term in the series. |
Arg4 | Required | Variant | Coefficients - a set of coefficients by which each successive power of x is multiplied. The number of values in coefficients determines the number of terms in the power series. For example, if there are three values in coefficients, there will be three terms in the power series. |
Return value
Double
Remarks
If any argument is nonnumeric, SeriesSum returns the #VALUE! error value.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.