Calc RSQ and exclude zeros
I want to do an array formula for the RSQ function so that it excludes zero
values in the calc.. The RSQ has 2 arguments, 1st for y's and 2nd for x's.
My problem is how to do an array formula with 2 arguments.
If I wanted to calc the STDEV ( a 1 argument function ) and exclude zero's I
would enter;
{=STDEV(IF($J11:$AG11<0,$J11:$AG11))}
For RSQ's normal usage I would enter;
=RSQ(J11:AG11,J7:AG7)
How do I adjust the formula above to exclude zero values?
Bruce
|