Statistical Functions
Analyse data distributions with AVERAGE, MEDIAN, STDEV, CORREL, and other essential statistical Excel functions.
✅ What You Will Learn
Statistical functions let you go beyond simple sums and counts to understand the distribution and relationships within your data. Mean, median, and standard deviation are the three most common statistics in business analysis — they appear in every HR analytics report, sales dashboard, and financial analysis.
Excel has two sets of statistical functions: the older functions (STDEV, VAR) which work on a sample, and the *P variants (STDEVP, VARP) which work on the entire population. In business analysis, you almost always have a sample — use STDEV, not STDEVP.
Understanding the difference between mean and median is especially important for salary and price data. The mean is pulled by outliers — one very high salary inflates the average. The median (middle value) is more representative when data is skewed.
📋 Employee salary data for statistical analysis
| Employee | Department | Salary (₹) | Experience (Yrs) | Rating |
|---|---|---|---|---|
| Rahul | Sales | 480000 | 3 | 4.2 |
| Priya | Tech | 920000 | 7 | 4.8 |
| Amit | Sales | 380000 | 2 | 3.9 |
| Sneha | HR | 450000 | 4 | 4.5 |
| Vikas | Tech | 1200000 | 10 | 4.7 |
| Anjali | Sales | 520000 | 5 | 4.1 |
| Deepak | Tech | 750000 | 6 | 4.3 |
Syntax
Examples
📌 Key Points to Remember
- ✓Use MEDIAN instead of AVERAGE for salary, price, and time data — outliers distort the mean
- ✓STDEV (sample) vs STDEVP (population): use STDEV when your data is a sample of a larger dataset
- ✓CORREL output: 0.7–1.0 = strong positive, 0.3–0.7 = moderate, below 0.3 = weak, negative = inverse relationship
- ✓PERCENTILE(range, 0.9) finds the 90th percentile — useful for defining "top performer" thresholds
- ✓AVERAGEIF works like SUMIF but averages instead of sums — same syntax, same power
🏢 Real-World Application
HR analytics teams use MEDIAN salary by department to identify pay equity issues. Sales managers use CORREL to validate whether call volume actually predicts revenue (if correlation is low, the metric is not a reliable KPI). Operations analysts use PERCENTILE to set SLA thresholds — e.g. "95% of tickets resolved within X days" — derived directly from the distribution of historical resolution times.
⚠️ Common Mistakes to Avoid
❓ Frequently Asked Questions
How do I calculate a weighted average in Excel?
Use SUMPRODUCT: =SUMPRODUCT(weights, values)/SUM(weights). For example, to weight exam scores by credit hours: =SUMPRODUCT(C2:C5, D2:D5)/SUM(C2:C5).
What is the difference between STDEV and STDEV.S?
They are identical — STDEV.S is the updated name in Excel 2010+. Use STDEV.S in new formulas for clarity. Both calculate sample standard deviation.
How do I calculate a 3-month moving average?
In cell D4 (third row of data): =AVERAGE(C2:C4). Copy down. This averages the current and two previous periods, smoothing out short-term fluctuations for trend analysis.
✏️ Practice Exercise
Using a dataset of 20 product prices from an e-commerce store, calculate: (1) Mean and median price — explain why they differ, (2) Standard deviation to understand price spread, (3) 25th, 50th, and 75th percentile prices, (4) Rank each product by price, (5) CORREL between price and units sold. Build a summary statistics table from these formulas.
Learn Excel with Live Trainer Guidance
These tutorials give you the foundations. Our live Excel course at EVIKA Academy, Noida teaches you to build real dashboards on actual business data — with a trainer who uses Excel professionally every day.