Skip to main content

The Average Function in Excel

 - If you're trying to work out an average, you're trying to calculate what the most common value is. For example, if a class of eight students took exams, you may want to know what the average exam score was. In other words, what result most students can expect to get. In order to calculate an average, you'd add up all eight exam scores and divide by how many students took the exam. So if the total for all eight students was 400, dividing by 8 would get you 50 as the average grade. If any students were below the average, you can tell at a glance.
In Excel , there is an easy way to calculate the average of some numbers - just use the inbuilt Average function.
Start a new spreadsheet and enter the following exams scores in cells A1 to A8, as in the image below:
Enter the numbers as shown
Click in cell A9, and we'll see how to use the Average function in Excel 2007. There are two ways we can do this. Try method 1 first.

Method 1

Next to the formula bar, you'll see an FX button. This is the Formula Wizard:
The Function Wizard in Excel 2007
Function bar in Excel 2013
When you click the FX button, you'll see the Insert Function dialogue box appear:
The Insert Function dialogue box in Excel
The Insert Function dialogue box shows a list functions. These are the just the common ones. To see more functions, click the drop down list to the right of Select a category. The one we want is displayed under Select a function, though - Average. Click on this, and then click OK.
When you click OK, another dialogue box appears. On this dialogue box, you select the data that you want to include in your function:
Function Arguments
If you look in the Number1 box, you'll see Excel has guessed which cells we want to use for our Average function - A1:A8. It evens gives the answer to the Function - 6.625.
Click OK to insert the function.

Method 2

The second way to enter a Function in Excel is through the panels on the Ribbon. Try this:
  • Click inside cell B9 on your spreadsheet. This is where we'll place the Average for the cells A1 to A8.
  • Click the Formulas menu at the top of Excel
  • Locate the Function Library panel. Here it is in Excel 2007
The Function Library in Excel 2007
And here it is in later versions:
Function Library in Excel 2013
As you can see, in Excel functions are split into categories. The Average function is in a few places. The easiest way to use Average is with AutoSum. Click the down arrow on AutoSum to see the following:
Click the  Average item
Now click Average from the menu. Because the answer is going in cell B9, Excel doesn't know which cells you want to use in the function, so it can't give you a quick answer. AutoSum is good when the data is in the same row or column. But when it's not, you have to tell it what to calculate.
So click inside cell A1 and you'll see the cell selected
Select the A1 cell
Hold down your left mouse button over the bottom right blue square, and drag to cell A8:
Drag to cell A8
Excel fills in the cells for your function. Let go of the left mouse button, and then press the Enter key on your keyboard. The correct answer is place in cell B9:
The answer is in cell B9
You can also find the Average function on the More Functions menu. Click Statistical, and you'll see it there:
The Average function is also on the Statistical menu in Excel 2007
Of course, once you know the correct function, you could simply type it all out in the Formula bar yourself!
Try this exercise.
Exercise
You start your own online business and find that sales for the first week are these:
Monday £120.45
Tuesday £187.43
Wednesday £106.87
Thursday £143.69
Friday £117.52
Saturday £87.93
Sunday £92.12
Use a function to work out how much you earned, on average, each day.
 
In the next part, we'll take a look at Date functions in Excel.

Comments

Popular posts from this blog

Beginners PHP  -This is a complete and free PHP programming course for beginners. It's assumed that you already have some HTML skills. But you don't need to be a guru, by any means. If you need a refresher on HTML, then click the link for the Web Design course on the left of this page. Everything you need to get started with this PHP course is set out in section one below. Good luck! Home Page > PHP Section One - An Introduction to PHP 1. What is PHP and Why do I need it? 2. What you need to get started 3. Installing and testing Wampserver 4. Troubleshooting > PHP Two - Getting Started With Variables 1. What is a Variable? 2. Putting text into variables 3. Variables - some practice 4. More variable practice 5. Joining direct text and variable data 6. Adding up in PHP 7. Subtraction 8. Multiplication 9. Division 10. Floating point numbers > PHP Three - Conditional Logic 1. If Statements 2. Using If Statements 3....
Visual Basic .NET Contents Page   -This computer course is an introduction to Visual Basic.NET programming for beginners. This course assumes that you have no programming experience whatsoever. It's a lot easier than you think, and can be a very rewarding hobby! You don't need to buy any software for this course! You can use the new FREE Visual Basic Express Edition from Microsoft. To see which version you need, click below: Getting the free Visual Studio Express - Which version do I need? > VB .NET One - Getting Started   1. Getting started with VB.NET 2. Visual Basic .NET Forms 3. Adding Controls using the Toolbox Home Page 4. Adding a Textbox to the Form 5. Visual Basic .NET and Properties 6. The Text Property 7. Adding a splash of colour 8. Saving your work 9. Create a New Project >   VB .NET Two - Write your first .NET code   1. What is a Variable? 2. Add a coding button to the Form 3. Writing y...
The Excel SumIF Function  - Another useful Excel function is SumIF. This function is like CountIf, except it adds one more argument: SUMIF( range ,  criteria ,  sum_range ) Range and criteria are the same as with  CountIF  - the range of cells to search, and what you want Excel to look for. The Sum_Range is like range, but it searches a new range of cells. To clarify all that, here's what we'll use SumIF for. (Start a new spreadsheet for this.) Five people have ordered goods from us. Some have paid us, but some haven't. The five people are Elisa, Kelly, Steven, Euan, and Holly. We'll use SumIF to calculate how much in total has been paid to us, and how much is still owed. So in Column A, enter the names: In Column B enter how much each person owes: In Column C, enter TRUE or FALSE values. TRUE means they have paid up, and FALSE means they haven't: Add two more labels: Total Paid, and Still Owed. Your spreadsheet should look something li...