# How to Use Excel ANOVA Three-Way With Replication

By Elliott Taylor

One-way analysis of variance, or ANOVA, is a test used to determine whether the population means of a dependent variable like heart rate are different from each other at different levels of an independent variable, like temperature. Two-way ANOVA adds a second factor, like humidity, and three-way adds a third factor such as weight. In each test, the null hypothesis is that the means of the dependent variable are the same, and the alternative hypothesis is that they are different. Two- and three-way ANOVA tests also add the interaction between the factors. ANOVA with replication means that, for each combination of variables, you have taken two or more measurements. Excel can only run up to two-way ANOVA; you would need a more advanced program like Minitab, SAS or SPSS to do so. However, you can use a regression equation with three factors in Excel to approximate the results of a three-way ANOVA test with replication.

## Step 1

Skip to the next section if you have already installed the data analysis add-in for Excel. If not, click the Microsoft Office button at the top left of your window to begin.

## Step 2

Click "Add-ins" and then, from the box that pops up, select "Analysis ToolPack."

Click "OK."

## Step 1

Enter your data into a new spreadsheet, in four columns, the leftmost for your dependent variable and the next three for your predictor variables. Populate them with the sample measurements you have taken.

## Step 2

Click the data tab in the ribbon.

## Step 3

Click data analysis and then regression.

## Step 4

Enter the cell references of your dependent variable in the box marked "Input Y Range" and the references of your independent variables in the box marked "Input X Range."

## Step 5

Enter the reference of a cell two or three rows below your data table in the "Output Range" box.

## Step 6

Click "OK" to run the regression analysis. The output will contain an ANOVA table that will allow you to interpret whether the null hypothesis that the means of each population are equal and there is no interaction between the variables, just as you would with a one- or two-factor ANOVA test.