6-Avg Median
6-Avg Median
Mode
Microsoft Excel provides many built-in functions to increase the productivity of its
users. Three of these functions are AVERAGE, MEDIAN, and MODE. However,
many folks confuse the definitions of these three terms.
Example #1
In our first example we will find the average (or mathematical mean), median, and
mode of the following set of values:.
2, 2, 3, 4, 5
AVERAGE
To find the average (also called the mean) of a dataset, the numbers are added and
then their total is divided by how many numbers are in the set. So, the sum of these 5
numbers is 16, and 16 divided by 5 is 3.2.
MEDIAN
The median is the middle number in a set of numbers listed in numerical order. Our
median is 3.
MODE
The mode is the number that appears most frequently in a set of numbers. The mode
in this example is 2 because there are two 2s.
Example #2
In our second example, we determine the average, median, and mode of a dataset
comprised of the following six numbers:
2, 6, 1, 3, 8, 4
Well, it's always a good idea to put the values in numerical order to ensure no errors
are made. So here we go:
1, 2, 3, 4, 6, 8
AVERAGE
The six values are added together (24) and then divided by 6 to arrive at an average of
4.
MEDIAN
With an even number of values in the set, there is no middle number. So we
must average the two middle numbers. The median is 3.5 (3+4=7, and 7÷2=3.5).
MODE
Since no number in the list occurs more than once, this set of numbers has no mode
Where:
Considerations
All Excel functions start with an equal = sign UNLESS the
function is inside another function. For example, there is no
equal sign in front of the AND function in:
=IF(AND(B2>0,C2<1),"Yes","No").
The AVERAGEIF function can be used with Excel 2016, Excel 2013, Excel 2011 for
Mac, Excel 2010, and Excel 2007
Where:
► range is the cell range upon which to apply the criteria. Range can include
numbers, cell references and arrays that contain numbers, or cell names. (required)
BONUS: We want the average of Prod. B sales for just those reps in East and West,
and we want to use wildcards. So =AVERAGEIF(B2:B7,"*st",D2:D7) would work.
BUT on a spreadsheet that contains other regions, like Northeast, we'd want to use
this function, =AVERAGEIF(B2:B7,"??st",D2:D7), as each ? wildcard specifies one
digit.