+ Reply to Thread
Results 1 to 8 of 8

LINEST - how to add no-adjacent columns for the known_x's?

  1. #1
    Registered User
    Join Date
    04-27-2009
    Location
    Brazil
    MS-Off Ver
    Excel 2003
    Posts
    13

    Question LINEST - how to add no-adjacent columns for the known_x's?

    I need to know how to selec no-adjacent columns for the known_x's in the linest function:
    Example:
    '- A B C D E

    1) 80 63 9 3 26
    2) 80 63 9 3 21
    3) 74 65 7 2 30
    4) 74 65 7 2 20
    5) 63 65 9 3 16

    =LINEST(A1:A5,KNOW_X'S,TRUE,TRUE)
    Is there any way to select for instance: column B and E as known_x's?

    I heard about something where we can select total area and then choose which columns should be considered via "{column1, colum2}"..
    That is all is missing for me to finish my project!!! Pls your help!!!
    Attached Files Attached Files
    Last edited by LIVIA; 04-28-2009 at 12:39 AM.

  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: LINEST - how to add no-adjacent columns for the known_x's?

    Welcome to the forum.

    I think you need to make them adjacent.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-27-2009
    Location
    Brazil
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: LINEST - how to add no-adjacent columns for the known_x's?

    Hi, thank you!
    ...the thing is that I'm using this Function to do an arranjement of 8 variables, which takes me to 255 combinations. It would be impossible for me to make all of them adjacent...
    Any clue on how to make it?!!
    PLEASEC!

  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 - how to add no-adjacent columns for the known_x's?

    ..the thing is that I'm using this Function to do an arranjement of 8 variables, which takes me to 255 combinations.
    Why?
    It would be impossible for me to make all of them adjacent.
    Why?

    You could use this:
    Please Login or Register  to view this content.
    Like this: =LINEST(A1:A5, MakeContig(B1:B5, E1:E5), TRUE, TRUE)

    ... but it's really an ad-hoc hack.

  5. #5
    Registered User
    Join Date
    04-27-2009
    Location
    Brazil
    MS-Off Ver
    Excel 2003
    Posts
    13

    Thumbs up Re: LINEST - how to add no-adjacent columns for the known_x's?

    THANK YOU SO MUCH!!!!!!!!!!!!!!
    IT REALLY WORKED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    You have no idea on how long I was looking for it, really!
    THANKS, THANKS THANKS!

  6. #6
    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 - how to add no-adjacent columns for the known_x's?

    You’re welcome. Would you please mark the thread as Solved?

    Click the Edit button on your first post in the thread

    Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes

  7. #7
    Registered User
    Join Date
    04-27-2009
    Location
    Brazil
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: LINEST - how to add no-adjacent columns for the known_x's?

    Sure, but where is the "prefix dropdown"?

  8. #8
    Registered User
    Join Date
    05-05-2013
    Location
    Helsinki, Finland
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: LINEST - how to add no-adjacent columns for the known_x's?

    Hi,

    Could you please tell me how I should modify the macro to be able to use it with my data that is sorted in rows (not columns as above). Thank you very much!

    Quote Originally Posted by shg View Post
    Why?

    Why?

    You could use this:
    Please Login or Register  to view this content.
    Like this: =LINEST(A1:A5, MakeContig(B1:B5, E1:E5), TRUE, TRUE)

    ... but it's really an ad-hoc hack.

+ 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