Syntax

expression.Trend(Arg1, Arg2, Arg3, Arg4)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data Type Description
Arg1 Required Variant Known_y's - the set of y-values you already know in the relationship y = mx + b.
Arg2 Optional Variant Known_x's - an optional set of x-values that you may already know in the relationship y = mx + b.
Arg3 Optional Variant New_x's - new x-values for which you want TREND to return corresponding y-values.
Arg4 Optional Variant Const - a logical value specifying whether to force the constant b to equal 0.

Return Value
Variant

Remarks


See also: