How to Calculate Mean in Excel

The arithmetic means, mode and median are the base of any statistical analysis of data. We have already discussed how we can calculateĀ MODE and MEDIAN in Excel. In this tutorial, we will learn how to calculate mean in excel.
Mean is nothing but the average of data. A given set of data is added and divided by total numbers. For example, mean of 2,4 and 8 will be (2+4+8)/3, which is 7.
In excel, we use the AVERAGE function to calculate the mean of data. TheĀ AVERAGE function does the same thing as mean. There is no MEAN function in excel since AVERAGE is there.
Generic Mean Formula in Excel


Number1,number2,... : These are the numbers of which you want to calculate mean in excel. This can be numbers, cell references and ranges.

The all below average formulas are valid.


Excel Mean Examples
Here I have some data about weights of my colleagues in my company. Now, I want to calculate the mean in excel of this data.
Write this mean formula using AVERAGE function in excel:


This will return the mean or say average of this data, which 60 kgs.

NOTE: any non numeric value is ignored except #DIV/0! And #N/A Error. If you have a #DIV/0! in set of numbers, AVERAGE function will return #DIV/0! error.

Handling Blank Cells while Calculating MEAN in Excel
Above mean formula is equivalent to this formula:


It means if you have any blank cell or cell that contain non numeric value, it will be ignored and denominator will reduce. See the below image.
See, we have, only 4 employees are taken in consideration. Which actually logical here, because no one can
weigh 0 Kgs on Earth.
But what if we are talking about productivity, that can be 0. In that case this analysis will be wrong.
To keep every record in consideration while calculating, either fill each non-numeric value with 0, or use below formula.


How it Works

Here first SUM function adds all the non numeric value in the given range. Then ROWS returns the number of rows in the range. Eventually we divide the sum by number of rows to calculate the mean in excel.

Calculate MEAN using SUM and COUNTA Function.
Almost every data has some tags with it. For example, every weight and productivity is associated with an employee. So to calculate true mean, we can sum the number using SUM function and count the employees using COUNTA function. And then divide the SUM by COUNT of employee to calculate mean of productivity.

Formula to Calculate Mean of Data using SUM and COUNTA


So, yeah guys, these are the ways to calculate error free mean of a dataset. Feel free to ask question about any statical function in excel. And share you tricks to others and make others work easy.

Related Articles:

Excel MODE function

Excel MEDIAN function

Create Histograms in Excel 2016/2013/2010

Regressions in excel

Popular Articles

The VLOOKUP Function in Excel

COUNTIF in Excel 2016

How to Use SUMIF Function in Excel


Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Youtube