PEARSON
Statistical

Returns the Pearson product moment correlation coefficient

Syntax:

=PEARSON(array1, array2)

Example:

=PEARSON(A2:A10, B2:B10)