Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default Linest - different columns for x range

For the x_range of Linest try e.g. choose({1,2,3},a1:a100,b1:d:
100,j1:j100).
Or if you have the column numbers listed in say w1,x1,y1 maybe try:

Choose({1,2,3},index(a1:a100,,w1),index(a1:a100,,x 1),index(a1:a100,,y1)

On 23 May, 13:33, SD wrote:
Hi,

I hsve to do heaps of regressions and I have 4 x variables. The x variables
are side by side in the column though so I cant do a function like this
Linest (A1:100,B1:E:100) as w variables are in columns b,c,d the the other is
in column j.

Hence I need to do a calc such as linest(a1:a100,b1:d:100,j1:j100). This
doesnt work though as it doesnt acknowldge the varaibles in column J and
produces an error.

Whats the best way to get around this. I am not in a position to reformat
the spreadsheet and have all the x variables side by side in columns
unfortunately.

Thanks

SD



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linest - different columns for x range SD Excel Worksheet Functions 2 May 23rd 07 01:47 PM
LINEST bug Mark Schreiber Excel Worksheet Functions 2 April 27th 07 07:26 PM
LINEST() Bove Farm Excel Worksheet Functions 1 May 29th 06 05:54 AM
LINEST pjk@boro Excel Discussion (Misc queries) 2 February 20th 06 09:56 AM
Linest - Why did they do that? cseeton Excel Discussion (Misc queries) 2 March 11th 05 12:45 PM


All times are GMT +1. The time now is 05:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"