Guides
Step-by-step guides with worked examples. Every number on these pages is computed by StatPak.
- How to get the Data Analysis ToolPak in Google SheetsGoogle Sheets has no built-in Analysis ToolPak. Here is how to get Excel-style Data Analysis (regression, ANOVA, t-tests, histograms) in Sheets, and which old add-ons stopped working in 2026.
- How to run a regression in Google SheetsStep-by-step multiple linear regression in Google Sheets: R squared, coefficients, p-values and confidence intervals, using LINEST or the Data Analysis Regression tool.
- How to do a one-way ANOVA in Google SheetsRun a single-factor ANOVA in Google Sheets and read the F statistic, p-value and F crit. Worked example with the Excel-style ANOVA table.
- How to do a t-test in Google SheetsPaired and two-sample t-tests in Google Sheets with T.TEST and the Excel-style t-Test output: t Stat, p-values, critical values and degrees of freedom.
- Descriptive statistics in Google SheetsGet a full descriptive statistics summary in Google Sheets: mean, standard error, median, mode, standard deviation, variance, kurtosis, skewness, range and confidence level.
- How to make a frequency table and histogram in Google SheetsCount values into bins with FREQUENCY or the Histogram tool in Google Sheets, with cumulative percentages and a Pareto (sorted) option.
- How to make a correlation matrix in Google SheetsBuild a correlation matrix for several variables in Google Sheets with CORREL or the Correlation tool, and read the coefficients correctly.
- Goal Seek in Google SheetsHow to use Goal Seek in Google Sheets to find a loan payment, break-even volume or required growth rate, and what to do when the Goal Seek add-on is slow or broken.
- How to use Solver in Google SheetsSolve optimisation problems in Google Sheets: maximise profit or minimise cost subject to constraints, with integer and binary variables. Worked product-mix example.
- XLMiner Analysis ToolPak not working? Here is the fixIf XLMiner Analysis ToolPak, Goal Seek or OpenSolver only shows "Help" in the Extensions menu, the add-on was broken by Google retiring the Rhino runtime in 2026. Here is what to use instead.
- OpenSolver not working in Google Sheets? Use this Solver insteadIf OpenSolver no longer appears in the Google Sheets Extensions menu, here is how to solve the same linear, integer and nonlinear models with StatPak Solver.
- Data Analysis ToolPak on a ChromebookExcel's Analysis ToolPak needs desktop Excel, which Chromebooks can't run, and Excel for the web doesn't include it. Here is how to run the same tools in Google Sheets.
- Analysis ToolPak add-ons for Google Sheets comparedXLMiner Analysis ToolPak, StatPak, Statwise, Sidestat and Wisegrids compared: which tools each has, Excel-style output, Solver and Goal Seek, and price.
- Multiple regression in Google SheetsRun a multiple linear regression in Google Sheets with Excel-style output. Read coefficients, p-values and adjusted R square, check LINEST, add dummy variables.
- Two-way ANOVA in Google SheetsRun a two-way ANOVA in Google Sheets with or without replication. Lay out the data, test both factors and their interaction, and read the ANOVA table.
- Moving average in Google SheetsCalculate a moving average forecast in Google Sheets with AVERAGE or the Moving Average tool, pick the interval, and read the Excel-style standard errors.
- Exponential smoothing in Google SheetsExponential smoothing in Google Sheets: how the damping factor relates to alpha, running the Excel-style tool with standard errors, and the formula version.
- F-test for two variances in Google SheetsCompare two variances with an F-test in Google Sheets. Run F-Test Two-Sample for Variances, read F and the one-tail p-value, and match it to F.TEST.
- Two-sample z-test in Google SheetsRun a two-sample z-test for means in Google Sheets when population variances are known. Read z, p-values and critical values, or build it with NORM.S.DIST.
- Rank and percentile in Google SheetsRank values and get their percentile in Google Sheets with RANK.EQ and PERCENTRANK.INC, or produce the sorted Excel-style Rank and Percentile table in one step.
- Random samples and random numbers in Google SheetsDraw a random or periodic sample and generate normal, uniform or binomial random numbers in Google Sheets, with a seed so you can reproduce the results.
- How to make a covariance matrix in Google SheetsBuild a covariance matrix in Google Sheets with COVARIANCE.P or the Covariance tool. Why the ToolPak uses population covariance and how it ties to correlation.