ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   correlation when the cell references vary (https://www.excelbanter.com/excel-worksheet-functions/152357-correlation-when-cell-references-vary.html)

Mark[_3_]

correlation when the cell references vary
 
Hi
I have managed to get the following array work ok (thanks to those who
helped a few weeks ago)

=AVERAGE(INDEX(H4:H63,MATCH(1,ISNUMBER(H4:H63)*(H4 :H63<0),0)):H64)

Now I wish to get the correlation when the references vary - the number of
NAs vary for each column.

The present formula for column H is =CORREL($N30:$N64,H30:H64).

When I try the same as average it gives a #VALUE error as the reference to
column N must also change to match the H column in the array. So how do I
get

Thanks
Mark




All times are GMT +1. The time now is 09:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com