Run statistics with Data analysis in Sheets
Use Data analysis in Foxcolab Sheets for descriptive statistics, histograms, correlation, regression, t-tests, ANOVA, moving averages, random numbers and samples, written as live formulas.
Updated 3 min read
In short
To run statistics in Foxcolab Sheets, select your data and choose Data → Data analysis…. Pick a tool such as Descriptive statistics, Regression or a t-test, check the input range and whether the first row has labels, choose a new sheet or a starting cell, and click Run. Results are formulas over your data, so they update when the numbers change.
Key takeaways
- Open Data → Data analysis… and pick one of 15 tools, from Descriptive statistics to Sampling.
- Each column of the input range is one variable. Tick First row has labels when the range includes headers.
- Results go on a New sheet named after the tool, or Starting at cell on the current sheet.
- Results are live formulas, except Random numbers and Sampling, which write fixed values.
- The calculations run in your browser, so your end-to-end encrypted data stays unreadable to Foxcolab.
Last reviewed 4 December 2026
Data analysis in Foxcolab Sheets runs standard statistics on a range for you: descriptive statistics, histograms, correlation, regression, t-tests, ANOVA, moving averages, random numbers and samples. Choose Data → Data analysis…, pick a tool and click Run. The results are written as formulas over your data, so they update when a number changes. Sheets does the math in your browser, so your end-to-end encrypted spreadsheet never has to be readable on Foxcolab's servers.
Run an analysis#
Select the data
Select the columns you want to analyze, including the header row if they have names. Each column is treated as one variable.
Open Data analysis
Choose Data → Data analysis…. The tools are listed on the left, each with a one-line description.
Pick a tool and check the ranges
Click a tool. The Input range is filled in from your selection. Tools that compare two samples also ask for a Variable 2 range, and Regression asks for a Y range and an X range.
Mark the labels
Keep First row has labels ticked when the range includes headers. The results use them as names.
Choose where the results go
Pick New sheet for a sheet named after the tool, or Starting at cell and type a cell such as H1.
Run
Click Run. Sheets opens the results and selects them.
Choose a tool#
| Tool | What you get | Settings |
|---|---|---|
| Descriptive statistics | Mean, standard error, median, mode, standard deviation, variance, kurtosis, skewness, range, minimum, maximum, sum, count and a confidence level for each column | Alpha (significance), 0.05 for a 95% confidence level |
| Histogram | How many values fall in each bin, with a cumulative percentage | Bin range (optional). Leave it empty and Sheets picks the bins from your data |
| Correlation, Covariance | A matrix comparing every column with every other | None |
| Regression | R squared, an ANOVA table and a coefficient for each X column, with P-values and confidence bounds | Alpha (significance) |
| t-test: paired, t-test: equal variances, t-test: unequal variances | Means, variances, the t statistic, and one- and two-tail p-values and critical values | Hypothesized mean difference, Alpha (significance) |
| F-test for variances | Whether two samples have different variances | Alpha (significance) |
| ANOVA: single factor | Whether the means of two or more groups differ. Put each group in its own column | Alpha (significance) |
| Moving average, Exponential smoothing | A smoothed version of a series | Interval, Damping factor |
| Rank and percentile | Each value's rank and percent rank | None |
| Random numbers | Values from a Distribution: Uniform, Normal, Bernoulli, Binomial or Poisson | How many, Columns, Seed (optional, repeatable) |
| Sampling | Every Nth value, or a random sample | Every Nth value (optional), Random sample size |
Random numbers and Sampling write fixed values. Enter a seed to get the same numbers again. Every other tool writes formulas such as AVERAGE, CORREL and LINEST that point at your data.
Example: do two warehouses deliver at the same speed?#
You have delivery times in days for 30 orders from each warehouse: North in A2:A31 and South in B2:B31, with the names in row 1.
- Choose Data → Data analysis… and pick t-test: unequal variances. It doesn't assume both warehouses vary by the same amount.
- Enter A1:A31 as the Variable 1 range and B1:B31 as the Variable 2 range, and keep First row has labels ticked.
- Leave Hypothesized mean difference at 0 and Alpha (significance) at 0.05, choose New sheet and click Run.
On the new t-test sheet, compare the t Stat with the t critical two-tail value. If the t Stat, ignoring its sign, is larger, the two average delivery times differ at the 5% level. The test checks whether two averages are equal, and the unequal-variances version uses the degrees of freedom that suit samples with different spreads (NIST/SEMATECH e-Handbook of Statistical Methods). The same conclusion shows as a P(T<=t) two-tail value below 0.05.
Because the results are formulas, adding a correction to a delivery time updates the test straight away.
Common problems#
- "The input range needs data below the labels": the range holds only the header row. Extend it down to the data.
- "The input range has no numbers": the histogram or sampling range holds only text. Check that the numbers aren't stored as text.
- ANOVA: single factor needs at least two columns, one per group.
- Starting at cell writes over the cells the results need. Choose an empty area, or use New sheet.
- A moving average starts with #N/A until there are enough values for the first interval.
Only people who can edit the spreadsheet can run Data analysis. To chart the results, select them and follow Insert a chart in Sheets.
Related#
Frequently asked questions
Do the results update when my data changes?
Yes, for every tool except Random numbers and Sampling. The other tools write formulas such as AVERAGE, CORREL and LINEST that point at your input range, so editing a value recalculates the results.
How do I get the same random numbers again?
Enter a number under Seed (optional, repeatable) before you click Run. The same seed and settings give the same numbers. Leave it empty for fresh numbers each time.
Who can run Data analysis?
People with edit access to the spreadsheet. The menu item is grayed out for viewers and commenters, though they can read results someone else has written.
Can I write the results next to my data?
Yes. Choose Starting at cell and type a cell such as H1. Sheets writes over whatever is in the cells the results need, so pick an empty area, or use New sheet to be safe.
Did this answer your question?
One click, no account needed.
Still need help?
Our support team can take it from here.