Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Mean Average Deviation in Excel: Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To calculate the Mean Average Deviation (MAD) in Excel, use the =AVEDEV(number1, [number2], ...) function, which automatically finds the average of the absolute differences between each data point and the overall mean. This measurement achieves a clear understanding of data variability by showing the average distance between each data point and the mean of the dataset, providing a more intuitive look at dispersion than standard deviation in some contexts.

What You'll Need

  • A computer with Microsoft Excel installed (any modern version, including Office 365, Excel 2021, 2019, or 2016).
  • A dataset consisting of numerical values organized in a column or row.
  • Basic familiarity with entering formulas into Excel cells.

Step-by-Step

There are two primary ways to calculate MAD in Excel: using the built-in AVEDEV function for speed, or using a manual step-by-step method for a deeper audit trail of your data. Both methods yield the same result.

Method 1: Using the AVEDEV Function

  1. Organize Your Data: Enter your numerical data into a single column. For example, place your values in cells A2 through A11.
  2. Select the Output Cell: Click on the cell where you want the Mean Average Deviation result to appear (e.g., cell B2).
  3. Enter the Formula: Type =AVEDEV( into the cell.
  4. Define the Range: While the cursor is still inside the parentheses, click and drag your mouse from cell A2 to A11, or manually type A2:A11.
  5. Complete the Formula: Type the closing parenthesis ) and press Enter.
  6. Verify the Result: Excel will now display a single number representing the average distance of all points from the mean.

Method 2: Manual Calculation (The Audit Method)

If you need to show your work or understand how the deviation is calculated for each specific point, follow these steps:

  1. Calculate the Mean: In a cell below your data (e.g., A12), enter =AVERAGE(A2:A11). Press Enter. Let's assume this result is 50.
  2. Calculate Absolute Deviations: In the column next to your data (Column B), you need to find the absolute difference between each value and the mean. In cell B2, enter =ABS(A2-$A$12).
    • The ABS function ensures the result is positive, regardless of whether the data point is above or below the mean.
    • The dollar signs in $A$12 create an absolute reference, so when you copy the formula down, it always points to the mean cell.
  3. Fill the Column: Click the bottom-right corner of cell B2 and drag it down to B11. You now have a list of absolute deviations.
  4. Average the Deviations: In a new cell, calculate the average of the values in Column B by entering =AVERAGE(B2:B11).
  5. Compare Results: This final number should be identical to the result produced by the AVEDEV function.

Common Mistakes

Even experienced Excel users can run into errors when calculating dispersion. Here are the most frequent pitfalls:

  • Confusing AVEDEV with STDEV: Many users mistakenly use STDEV.P or STDEV.S. While both measure variability, Standard Deviation squares the differences before averaging them, which gives more weight to outliers. Mean Average Deviation treats all distances linearly.
  • Forgetting Absolute References: When using the manual method, failing to use the $ symbol (e.g., using A12 instead of $A$12) causes Excel to shift the reference cell as you drag the formula down, leading to incorrect calculations.
  • Including Non-Numeric Data: If your range includes text, empty cells that contain hidden spaces, or error messages (like #DIV/0!), the AVEDEV function may return an error or ignore those cells, potentially skewing your interpretation of the dataset.
  • Applying the Formula to the Mean: Ensure your range selection for AVEDEV only includes the raw data. If you accidentally include the cell containing the average in your range, you are adding a zero-deviation point to your set, which will artificially lower the MAD result.

Tips

  • Use Named Ranges: If you frequently update your data, highlight your data range and give it a name (e.g., "SalesData") in the Name Box (top left). Your formula becomes =AVEDEV(SalesData), which is much easier to read and maintain.
  • Data Validation: Use Data > Data Validation to ensure only numbers are entered into your data column. This prevents #VALUE! errors from breaking your MAD calculation.
  • Conditional Formatting: In the manual method, apply Conditional Formatting to the Absolute Deviation column. Use a "Color Scale" to quickly visualize which data points are the furthest from the mean (the outliers).
  • Combine with Median: For highly skewed data, compare your MAD with the Median Absolute Deviation. While Excel doesn't have a single MEDEV function, calculating the median of the absolute differences can tell you if a few extreme outliers are pulling the mean average deviation higher than it should be.

Troubleshooting

If your formula isn't working as expected, try these solutions in order of complexity:

  1. Check for #VALUE! Errors: This usually means there is text in your range. Scan your data for numbers stored as text (often indicated by a small green triangle in the cell corner). Select the cells, click the warning icon, and select "Convert to Number."
  2. Check for #DIV/0! Errors: This occurs if the range you selected is empty or contains no numbers. Ensure your range references (e.g., A2:A11) actually contain numeric values.
  3. Verify Range Accuracy: If the result seems unusually low, check that you haven't accidentally included the mean itself or several zero-value cells in your range.
  4. Update Excel: If the AVEDEV function is not recognized (which is rare in modern versions), check for updates via File > Account > Update Options.
  5. Clear Formatting: Sometimes hidden characters or strange cell formatting can interfere. Select your data, go to the Home tab, click Clear (eraser icon), and select "Clear Formats" before re-entering the data.

Frequently Asked Questions

How is Mean Average Deviation different from Standard Deviation?

MAD uses the absolute difference between a value and the mean, whereas Standard Deviation squares those differences. This means Standard Deviation is more sensitive to outliers; a single very large value will increase the Standard Deviation much more than it will increase the MAD.

Can I use AVEDEV for a sample or a population?

Unlike standard deviation (which has STDEV.S for samples and STDEV.P for populations), AVEDEV is calculated the same way regardless of whether the data is a sample or the entire population. It simply averages the absolute deviations.

Why is my manual MAD different from the AVEDEV function?

This is almost always due to a referencing error in the manual method. Ensure you used ABS() for every subtraction and that you used absolute references ($) for the mean cell when dragging the formula down.

Does AVEDEV work with empty cells?

Yes, the AVEDEV function ignores empty cells and cells containing text or logical values. However, it does not ignore cells that contain a zero, as zero is a numerical value that affects the mean and the resulting deviation.

What does a MAD of 0 mean?

A Mean Average Deviation of 0 indicates that every single value in your dataset is identical. Since there is no difference between any data point and the mean, the average deviation is zero.