Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Correlation-Coefficient
The following macro is to find the Linear Correlation-Coefficient
of a selected range. I'd like to use a Selection "Rng" instead of a fixed range "C2:C11" Can it be done? Sub RSQ() Dim Rng As Variant Rng = Selection Range("G10") = "= RSQ(C2:C11,ROW(C2:C11))": _ Range("G10") = Range("G10").Value ' I want to replace C2:C11 with Rng in the line above End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Correlation Tables -- Setup | Excel Worksheet Functions | |||
spearman correlation coefficient | Excel Discussion (Misc queries) | |||
How do I use the "Correlation" dialog box with multiple ranges? | Excel Discussion (Misc queries) | |||
Correlation matrix | Excel Worksheet Functions | |||
Correlation Coefficient Issue | Excel Worksheet Functions |