RSQ(array1,array2)
RSQ returns the square of the Pearson correlation coefficient of two data sets.
Strings and empty cells are simply ignored.
This function is Excel compatible.
CORREL, COVAR, INTERCEPT, LINEST, LOGEST, PEARSON, SLOPE, STEYX, TREND.