#1
|
|||
|
|||
Trendline parameters
Is there a way of 'evaluating' the SLOPE and INTERCEPT parameters?
Assuming my (x,y) data are contained in cells L11 to L20 (for the y’s) and in cells K11 to K20 (for the x’s). The slope of line is obtained by using the functions =SLOPE(L11:L20,K11:K20) Here is my question: If cells … I25 contains characters L11 I26 contains characters L20 J25 contains characters K11 J26 contains characters K20 Is there a way of having the slope parameters evaluated, such as: =SLOPE(I25&":"&I26,J25&":"&J26) I get an error when I try to do that! Is there an alternate way of automating the range of x,y ... outside the slope and intercept function? I would use this to automate the regression parameters, as data are added to my data set? |
#2
|
|||
|
|||
How about
SLOPE(INDIRECT(I25):INDIRECT(I26),INDIRECT(J25):IN DIRECT(J26)) |
#3
|
|||
|
|||
Thank you. That works well.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
trendline error | jayjones90 | Excel | 2 | 11-22-2016 12:36 AM |
Interception between trendline and markers? | tinfanide | Excel | 4 | 08-24-2015 06:57 AM |
Linear trendline? | markg2 | Excel | 0 | 06-25-2015 05:19 AM |
How to pass parameters to a .msg file? | HereNow | Outlook | 0 | 11-05-2012 10:38 AM |
Printer parameters stored where? | Doc_man | Office | 2 | 06-20-2011 12:27 PM |