
Using traditional measures like standard deviation can be misleading with datasets that have outliers or non-normal distributions. The Median Absolute Deviation (MAD) helps us see data variability better. It’s a strong statistic. In this article, we’ll explain Median Absolute Deviation. We’ll show you how to calculate it step-by-step in Excel. We’ll also discuss its key benefits, answer common questions, and provide clear guidance.
What is Median Absolute Deviation?
Median Absolute Deviation (MAD) is a statistical measure of spread or dispersion. It finds the median of the absolute differences between each data point and the median of the dataset. MAD is less affected by outliers than standard deviation. This makes it great for looking at skewed or noisy data.
Formula for MAD:
MAD = median(|Xi – median(X)|)
Where:
- Xi = each data point in the dataset
- median(X) = the median of the dataset
- |Xi – median(X)| = absolute deviation from the median

How to Calculate Median Absolute Deviation in Excel?
Excel doesn’t have a built-in MAD function, but you can easily calculate it using a combination of formulas.
Step 1: Input Your Data
Place your dataset in a single column, for example, A2:A11.
| A | |——-| | 12 | | 15 | | 13 | | 18 | | 12 | | 14 | | 19 | | 100 | | 16 | | 13 |

Step 2: Calculate the Median
In an empty cell (say B1), calculate the median:
=MEDIAN(A2:A11)

Step 3: Calculate Absolute Deviations
In column B (next to your data), use:
=ABS(A2 – $B$1)
Drag down the formula to apply it to the entire dataset.

Step 4: Find the Median of Absolute Deviations
In another empty cell (say C1), use:
=MEDIAN(B2:B11)
This gives you the Median Absolute Deviation.

Benefits of Calculating Median Absolute Deviation in Excel
Robust Against Outliers
MAD isn’t affected by extreme values. In contrast, standard deviation can be influenced by one large or small number. In our earlier dataset, the value 100 is a clear outlier. Standard deviation would increase significantly because of it. MAD focuses on the median. It reduces the impact of outliers, providing a clearer view of variability.
Ideal for Skewed Distributions
For data that isn’t normally distributed, like income or biological data, MAD is better. It shows the real spread of most data points. If you’re analyzing customer spending, a few wealthy individuals can heavily distort your standard deviation. MAD lets you focus on the central trend of the majority.
Simple to Calculate in Excel
You can calculate MAD using Excel’s built-in functions like MEDIAN and ABS. No add-ins or special software are needed. This makes it accessible to professionals, students, and researchers who need accurate statistics without relying on complex tools like R or Python.
Supports Quality Control and Anomaly Detection
MAD is commonly used in Six Sigma, quality assurance, and machine learning. It helps identify abnormal values. You can use MAD to set strong alert thresholds. For example, if a process value strays more than 3×MAD from the median, flag it for review.
Improves Decision-Making With Clean Statistics
MAD provides clearer insights, especially with real-world datasets. These datasets are often not perfect or normally distributed. MAD gives you a clear, dependable look at how data acts. This applies whether you’re checking survey responses, tracking server load times, or examining health data.
Median Absolute Deviation using Microsoft Excel
FAQ’s About Median Absolute Deviation in Excel
Does Excel have a built-in MAD function?
No, Excel doesn’t have a direct function for MAD, but you can calculate it using MEDIAN and ABS functions.
When should I use MAD instead of standard deviation?
Use MAD when:
- Your dataset contains outliers
- The distribution is skewed
- You need a robust measure of variability
Can MAD be used for large datasets?
Yes. Excel can handle thousands of rows for MAD calculations, especially with modern versions like Excel 365 or Excel 2021.
How does MAD help in anomaly detection?
Values that fall beyond a certain multiple of the MAD (e.g., 3×MAD) from the median are considered anomalies. It’s a reliable method in machine learning and risk modeling.
Is MAD better than mean absolute deviation (MeanAD)?
Both are useful. However, MAD is stronger. It relies on the median instead of the mean. This makes it less affected by outliers.
Conclusion
Finding the Median Absolute Deviation in Excel gives you a strong tool to understand variability. This is helpful, especially when your data isn’t perfect. MAD focuses on the median, unlike standard deviation. This gives a clearer view when outliers or skewed distributions are present.
