How to Calculate Pooled Variance in Excel (with Easy Steps)

In this article, we will demonstrate how to calculate Pooled Variance in Excel.


What Is Pooled Variance?

Pooled Variance is a statistical term also known as combined variance or composite variance. It indicates the average variance of two or more groups, and represents the single common variance among the groups.

Mathematically, Pooled Variance can be expressed as:

Where,

n= Sample size of Group 1,

n2 = Sample size of Group 2,

S12 = Variance of Group 1,

S22 = Variance of Group 2, and

Sp2 = Pooled Variance.

When the sample sizes are the same (n1=n2), we can use the following simplified formula:


How to Calculate Pooled Variance in Excel

Step 1 – Input Data and Form a Table

First, we collect sample data to make a dataset and form a Table, which will simplify our calculation.

Pooled Variance Calculation: Sample Dataset

  • Insert sample data from two different sources into the columns Group 1 and Group 2.

Now we form two tables from this data.

  • Select the cells of the Group 1 column.
  • Select Table from the Insert tab.

Create Dataset and Table in Excel for Variance

The Create Table window appears. Our selected range is pre-selected.

  • Check My table has headers option.
  • Click OK.

Create Dataset and Table in Excel for Variance

Click on the Table Design tab.

  • Uncheck Filter Button and Banded Rows from the Table Style Options section.
  • Set the name of the table in the Table Name field.

Create Dataset and Table in Excel for Variance

  • Similarly, create the other table named Group2.

In the dataset, the little arrow in the bottom-right corner of the table denotes that it’s a Table.

Read More: How to Do Variance Analysis in Excel


Step 2 – Count the Number of Samples

The COUNT function counts the number of cells in a range that contains numbers.

Using the 2 tables just created, we’ll now determine the size of the sample data using the COUNT function.

  • Add a row to store the sample sizes.

  • In cell C16, enter the following formula:
=COUNT(Group1)

Calculate Data Size of Excel Column

  • Press Enter.

The data size of Group1 is returned.

  • Insert a similar formula for the Group2 table.

Calculate Data Size of Excel Column

Read More: How to Apply Variance Formula in Excel to Get Plus-Minus Results


Step 3 – Calculate the Variance with the VAR.S Function

The VAR.S function estimates variance based on a sample (ignoring logical values and text in the sample).

With the sample sizes determined, we can determine the variance using Excel’s default variance function.

  • Add a new row to store the variance figures.

  • In cell C17, enter the following formula:
=VAR.S(Group1)

Calculate Variance from Sample in Excel

  • Press Enter to return the result.

The variance for the data of the Group 1 column is returned.

  • Create a similar formula for Group 2 in cell D17 and press Enter.

Calculate Variance from Sample in Excel

As we are using a Table as a reference, the Fill Handle will not work here.

Read More: How to Calculate Sample Variance in Excel


Step 4 – Determine Pooled Variance with a Formula

With the variances determined, we can calculate the Pooled Variance by applying a mathematical formula.

  • Add a row for the Pooled Variance figures.

  • Enter the following formula in cell C18:
=((C16-1)*C17+(D16-1)*D17)/(C16+D16-2)

Determine Pooled Variance

  • Press Enter to return the result.

As discussed above, when the sample sizes are the same, we can use a simplified formula.

  • Insert the following simplified formula in cell C19:
=(C17+D17)/2

Determine Pooled Variance

  • Press Enter to return the result.

Read More: How to Calculate Percentage Variance between Two Numbers in Excel


Download Practice Workbook


Related Articles


<< Go Back to Calculate Variance in Excel | Excel for Statistics | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Alok Paul
Alok Paul

Alok Paul has completed his B.Sc. in Electronics and Telecommunication Engineering from East West University. He has been working on the ExcelDemy project for more than 2 years. He has written 220+ articles and replied to numerous comments. He is experienced in Microsoft Office, especially in Excel. He also led some teams on Excel and VBA content development. He has a keen interest in Advanced Excel, Data analysis, Excel Pivot Table, Charts, and Dashboard. He loves to research... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo