Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于可变长度数组,如何确定 Line 估计变量(问题是 LINEST 函数需要一组值范围,我想改变范围)。
您可以确定您的一组值并将它们放入一个数组中(以防万一您也不能考虑其中的一些 - 例如零)。如果需要,您可以将数组写入列/行,并将WorksheetFunction.Linest多项式的系数写入同一张表中。例如,您想要三次线估计 = 您得到以下公式的 a、b 和 c:ax^3+bx^2+cx
WorksheetFunction.Linest