+ Reply to Thread
Results 1 to 2 of 2

Display part of an array formula result

  1. #1
    Registered User
    Join Date
    02-04-2011
    Location
    Portland, Oregon, USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Display part of an array formula result

    Is it possible to display only part of an array formula result? In my particular case, I was interested in using the formula LINEST() which returns the parameters for a linear least squares fit to a data set. In it's simplest form this array formula need only cover two cells in adjacent columns. the first value is the slope of the line, while the second value is the y-intercept. If one enters the formula into one cell only, then only the slope gets returned. In my case I was only interested in the y-intercept. Is there a way to input the function into one cell only and have it return a value in an arbitrary part of the array result?

    Since I first ran into this question, I've used a work around that involved putting the full array elsewhere and then referring back to it and hiding the original cells. I find this method in-elegant. Is there anything more sophisticated?

  2. #2
    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: Display part of an array formula result

    =INDEX(LINEST(y, x), 1, 2)

    Or see the INTERCEPT function.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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