Syntax. RSQ(known_y’s;known_x’s)

Definition. This function returns the square of the Pearson correlation coefficient based on a set of data points known_y’s and known_x’s. The r2 value can be interpreted as the proportion of the variance in y attributable to the variance in x.

See Also

The Pearson correlation coefficient is explained in more detail in the section discussing the PEARSON() function.


  • known_y’s (required). An array or a range of data points

  • known_x’s (required). An array or a range of data points


Arguments can be numbers or names, arrays, or references containing numbers. If an array or a reference argument contains text, logical values, or empty cells, those values are ignored. However, cells with the value 0 are included. ...

Get Microsoft® Excel® 2010 Formulas & Functions Inside Out now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.