PEARSON
Statistical

Returns the Pearson product moment correlation coefficient

Syntax:

=PEARSON(array1, array2)

Example:

=PEARSON(A1:A10, B1:B10)