Every statistical function you need for university assignments โ with real examples and formula syntax.
=AVERAGE(A2:A100) arithmetic mean
=MEDIAN(A2:A100) middle value
=MODE(A2:A100) most frequent value (MODE.SNGL for single result)=STDEV(A2:A100) sample standard deviation (use for samples)
=STDEVP(A2:A100) population standard deviation (use for entire population)
=STDEV.S(A2:A100) same as STDEV (newer function name)
=STDEV.P(A2:A100) same as STDEVP (newer function name)Use STDEV (sample) when your data is a sample drawn from a larger population โ which is almost always the case in research. Use STDEVP (population) only when you have data for the entire population.
=VAR(A2:A100) sample variance
=VARP(A2:A100) population variance=PERCENTILE(A2:A100, 0.9) 90th percentile
=QUARTILE(A2:A100, 1) Q1 (25th percentile)
=QUARTILE(A2:A100, 2) Q2 (median)
=QUARTILE(A2:A100, 3) Q3 (75th percentile)=CORREL(A2:A100, B2:B100)
-- Pearson correlation coefficient between two variables
-- Returns a value between -1 (perfect negative) and +1 (perfect positive)
-- 0 = no linear correlation=SLOPE(y_range, x_range) slope (coefficient) of the regression line
=INTERCEPT(y_range, x_range) y-intercept of the regression line
=RSQ(y_range, x_range) R-squared (coefficient of determination)
-- Regression equation: y = SLOPE*x + INTERCEPT=FORECAST(x_value, y_range, x_range)
-- Predicts the y value for a given x using linear regression
=FORECAST(25, B2:B50, A2:A50)
-- Predict y when x=25=FREQUENCY(data_range, bins_range)
-- Array formula โ press Ctrl+Shift+Enter in older Excel
-- Returns count of values falling in each bin
-- Select the output cells first, enter formula, Ctrl+Shift+EnterFor more advanced statistics (ANOVA, t-tests, regression with output tables), enable the Analysis ToolPak: File โ Options โ Add-ins โ Analysis ToolPak โ Go โ check the box. Then Data โ Data Analysis gives you a menu of statistical tests.
Practice these formulas in the Students track โ built for university assignments and graduate job assessments. Free to start.
Start the Students track free โ