Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

Linest Poly Array using data horizontally

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GregJ - 11 Nov 2007 18:19 GMT
All of our metrics store data horizontally, meaning Months (x) are
stored by column and data series (y) are stored in rows below the
months...

Mo: 1 -- 2 -- 3--4 -- 5
Data 31 -- 33 -- 36 -- 38 -- 39

When I apply any Order Poly Linest() array on the data set, I get
errors.  Tranpose the data vertically and the Linest() array works.

Any advice?
Bernard Liengme - 11 Nov 2007 18:52 GMT
I expect you had something like =LINEST(B3:K3,B2:K2^{1,2}) but the comma
between 1 and 2 is appropriate for vertical (columnar) data. For horizontal
data (data in rows) you need a semicolon (I hope you are using an English
version of XL!!) as in
=LINEST(B3:K3,B2:K2^{1;2})

This is taken for XL's Help:
............ quote
The format of array constants
Array constants are enclosed in braces ( { } ).

Separate values in different columns with commas (,). For example, to
represent the values 10, 20, 30, and 40, enter {10,20,30,40}. This array
constant is known as a 1-by-4 array and is equivalent to a 1-row-by-4-column
reference.

Separate values in different rows with semicolons (;). For example, to
represent the values 10, 20, 30, and 40 in one row and 50, 60, 70, and 80 in
the row immediately below, you would enter a 2-by-4 array constant:
{10,20,30,40;50,60,70,80}.

...........end quote

best wishes

Signature

Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

> All of our metrics store data horizontally, meaning Months (x) are
> stored by column and data series (y) are stored in rows below the
[quoted text clipped - 7 lines]
>
> Any advice?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.