+ Reply to Thread
Results 1 to 6 of 6

LINEST function returns zeros

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Olathe, KS
    MS-Off Ver
    Excel 2010
    Posts
    42

    LINEST function returns zeros

    Using Excel 2010, and the fx wizard button, I select the Ys, Xs, True, and True, then CLK OK and the formula =LINEST(J41:J47,I41:I47,TRUE,TRUE) appears in the cell. Then I select a 2 x 5 cell range starting with the formula cell at the upper left of this selected range. Then I press F2, then CTRL+SHIFT+ENTER and the LINEST formula returns a 2 x 5 array of zeros?! See below.
    Any help would be appreciated. Thanks!

    Known Known
    Ys Xs
    0 0.39
    25 7.50
    40 12.00
    45 13.50
    50 15.00
    55 16.50
    61 18.00

    0.000000 0.000000
    0.000000 0.000000
    0.000000 0.000000
    0.000000 0.000000
    0.000000 0.000000

  2. #2
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: LINEST function returns zeros

    I couldn't repeat the issue.

    When I follow your method, I get Snap2.jpg


    is your calculation method set to manual (Excel options --> Formula --> Workbook calculation)?
    Last edited by vandan_tanna; 05-30-2012 at 06:00 PM.
    Regards,
    Vandan

  3. #3
    Registered User
    Join Date
    05-10-2012
    Location
    Olathe, KS
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: LINEST function returns zeros

    No, it was set to Automatic. I set it to Manual, selected a 2 x 5 range of cells, then F2, ctrl+shift+enter and got values this time, but different from yours. See below.


    3.428680 -1.173852
    0.024920 0.326803
    0.999736 0.371522
    18931.060157 5.000000
    2613.024144 0.690142

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: LINEST function returns zeros

    VT reversed the Y and X values
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: LINEST function returns zeros

    ooops.

    Thanks for catching that shg.

  6. #6
    Registered User
    Join Date
    05-10-2012
    Location
    Olathe, KS
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: LINEST function returns zeros

    Your right. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1