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 / January 2008

Tip: Looking for answers? Try searching our database.

XL2007: SLOPE vs. LINEST; how can this be?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TomCon - 05 Jan 2008 21:12 GMT
I have a formula in a cell.   =SLOPE(ref1, ref2).  It compultes a numeric
result with no complaint, which appears to be reasonable/valid to me.

Now, if i edit the function name ONLY and change it to LINEST (stuff inside
the () stays the same), i get #VALUE.

(The only reason i did it that way was to make absolutely my reference was
the same).

How can this be??  Anyone else ever see this?  Anything to do about it?  (I
need some of the "additonal regression statistics" that LINEST provides).

Thanks,
tom
Mike Middleton - 05 Jan 2008 21:50 GMT
tom or TomCon  -

Using Excel 2007 SP1, the LINEST function works OK for me.

Select a large range of cells, type =LINEST(y-range-ref,x-range-ref,1,1) but
don't press Enter, instead after typing the closing parentheses, hold down
Ctrl and Shift while you press Enter, thus "array-entering" the function.

Press F1 and search Help for "linest function" without the quotes.

-  Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel

>I have a formula in a cell.   =SLOPE(ref1, ref2).  It compultes a numeric
>result with no complaint, which appears to be reasonable/valid to me.
[quoted text clipped - 11 lines]
> Thanks,
> tom
Jerry W. Lewis - 06 Jan 2008 17:20 GMT
You have cell(s) that do not contain numbers (possibly empty cells) in ref1
and/or ref2.  That is why LINEST returns the #VALUE! error.

SLOPE, INTERCEPT, STEYX, RSQ, CORREL, etc. will ignore non-numeric data in
ref1 and ref2; LINEST will not.  This is not documented in Help for LINEST,
although it should be.

It is not necessary to array enter LINEST, provided that you only want it to
return the slope.  Array entry is only required if either you want LINEST to
return more than one value, or if at least one argument to LINEST is an array
formula (such as when you ask LINEST to fit a polynomial).

Jerry

> I have a formula in a cell.   =SLOPE(ref1, ref2).  It compultes a numeric
> result with no complaint, which appears to be reasonable/valid to me.
[quoted text clipped - 10 lines]
> Thanks,
> tom
 
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.