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.
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. ...