Tiny Lever

How to Run a One-Way ANOVA in Google Sheets

ANOVA (analysis of variance) tells you whether the averages of three or more groups differ by more than chance would explain. Google Sheets has F.DIST.RT and F.INV.RT but no ANOVA tool, so you would have to build the sums of squares by hand. SheetStats adds the same Anova: Single Factor table Excel's Data Analysis ToolPak makes.

Example: three fertilizer brands

Put one group per column with the group name in row 1:

Brand ABrand BBrand C
202518
222720
192417
212619
232821

Steps

  1. Install SheetStats from the Google Workspace Marketplace (button below).
  2. Open your sheet and go to Extensions → SheetStats → Data Analysis.
  3. Pick ANOVA Single Factor, select your input range, and tick Labels in first row if row 1 holds column names.
  4. Choose where the output goes (a new sheet, or a cell you pick) and click Run.

Leave Alpha at 0.05 unless your course or study uses another level. The output for the example data:

Source of VariationSSdfMSFP-valueF crit
Between Groups130265260.00004353.885
Within Groups30122.5
Total16014

Reading the result

The P-value is far below 0.05 and F (26) is larger than F crit (3.885), so at least one brand's average yield is different. ANOVA does not say which one; compare pairs with a t-test, or look at the averages in the SUMMARY table above the ANOVA table.

SheetStats also has ANOVA Two-Factor With Rep and ANOVA Two-Factor Without Rep for two grouping variables.

SheetStats for Google Sheets

Free to install. Data Analysis, Goal Seek, Solver and Monte Carlo in one add-on.

Install free

Questions

Does Google Sheets have a built-in ANOVA?

No. It has the F distribution functions but no tool that builds the ANOVA table. SheetStats adds the same three ANOVA tools as Excel's ToolPak.

Can my groups have different sizes?

Yes. Single-factor ANOVA handles groups with different numbers of values. Leave the extra cells blank.

Are my groups in columns or rows?

Either. Choose Columns or Rows under Grouped by, to match how your data is laid out.