Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Automating Polynomial Order Selection in Linest

This is a follow up question to an earlier post about Linest. Want to
automate the order selection of the polynomial so an end user can quickly
change a cell reference to view the results of different orders (2-6).

The formula I am working with is...

=LINEST(Y's, X's^{1,2,3,4}), 1, 0) -- for a 4th order polyn

I want to be able to enter a value in a seperate cell which updates the
X's^{order} argument to reflect the new order e.g. if the new order is 2 then
that part of the formula updates to X's^{1,2} and so on.

Have poked around google and MS help to no avail.

Thanks in advance
Nick Flyger
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Automating Polynomial Order Selection in Linest

Try this, were A1 contains the order polynomial you want.

LINEST(Y's, X's^ROW(INDIRECT("1:"&A1)), 1, 0)



cheers...


Nick Flyger wrote:
This is a follow up question to an earlier post about Linest. Want to
automate the order selection of the polynomial so an end user can quickly
change a cell reference to view the results of different orders (2-6).

The formula I am working with is...

=LINEST(Y's, X's^{1,2,3,4}), 1, 0) -- for a 4th order polyn

I want to be able to enter a value in a seperate cell which updates the
X's^{order} argument to reflect the new order e.g. if the new order is 2 then
that part of the formula updates to X's^{1,2} and so on.

Have poked around google and MS help to no avail.

Thanks in advance
Nick Flyger


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print order of worksheets Stray Doug Excel Discussion (Misc queries) 3 September 21st 05 12:37 AM
using linest to generate 3rd order polynomial coefficients Incoherent Excel Worksheet Functions 4 September 14th 05 02:57 PM
higher order polynomial fit line x-coefficients barrfly Excel Discussion (Misc queries) 3 July 12th 05 09:07 AM
assign cell selection order in protected Excel worksheet tom92 Excel Discussion (Misc queries) 1 April 4th 05 05:57 PM
Linest - Why did they do that? cseeton Excel Discussion (Misc queries) 2 March 11th 05 12:45 PM


All times are GMT +1. The time now is 07:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"