From the course: Learning Excel: Data Analysis

Unlock the full course today

Join today to access over 23,100 courses taught by industry experts.

Calculate covariance among multiple pairs of columns

Calculate covariance among multiple pairs of columns - Microsoft Excel Tutorial

From the course: Learning Excel: Data Analysis

Calculate covariance among multiple pairs of columns

- [Instructor] In the previous movie, I showed you how to calculate covariance for two columns of data. In this movie, I will show you how to do it for multiple columns of data by creating a grid. My sample file is 05_03_Multiple_Covariance, and you can find it in the Chapter 5 folder of the exercise files collection. I have four columns of data in this workbook, and you can see them over here in columns A through D. And then I also have the covariance formula over here on the right as a reminder, but we're actually not going to implement it directly. Instead, we're going to use a built-in function. It'll save us a lot of time. To start, I will click in cell G2. And I want to calculate the covariance of column 1 with itself. And no, this calculation doesn't make any sense in any real way, but what it will let us do is create formulas that we can copy to the rest of the cells in the worksheet. So in cell G2, I'll type an equal sign and I'll use covariance.s. And this assumes that we…

Contents