The COVARIANCE.S function in Excel computes the sample covariance of two sets of data. Because the function is new in Excel 2010, it is not available in previous versions of Excel.
Syntax :
=COVARIANCE.S(array1, array2)
Parameters :
Example :
The spreadsheet on the right has two sets of values in columns A and B. The sample covariance of the values in the spreadsheet’s columns A and B may be determined using the Excel Covariance.S function, as shown below: =DIFFERENCE.S ( A2:A9, B2:B9 ) This yields 19.00928571, indicating a positive correlation between the two sets of data.
Ask Your Query