Calculating Sums, Mean, Median, Mode, Range and Standard Deviation With Excel
Calculating Sums, Mean, Median, Mode, Range and Standard Deviation With Excel
Dr. Nancy Albers Miller 1. Enter responses (or other data) in columns in an Excel spreadsheet.
2. Click on an empty cell (preferable at the bottom of the column of data that you just entered. Then, click on the Fx symbol (this will launch the Function Wizard).
4. First we will calculate the Sum of a column. SUM may already be visible as a Most Recently Used function. If it is not, you can type the letters SUM in the Search for a function box then press GO. SUM should then appear in the list.
5. Click on SUM and then press OK. A menu will appear for you to confirm the range of cells you want included in your sum.
6. In this case, the list is correct (B2:B11) so press ok. If it is incorrect, it will need to be changed. An explanation on how to change it will appear in the discussion on Means. The sum will appear in the cell you selected. You might want to label the cell to remember what was calculated.
7. Click on the box below your SUM. Because we are going to calculate several statistical functions, we are going to select a category next. Click on Fx again. To change the category, click on the down arrow of the part of the screen . Several options will appear click on Statistical.
8. Next calculate the Mean of a column. Excel labels the Mean as an Average. Click on Average and press OK. We will need to change our range of cells, or the sum will be included in our Mean.
9. Click on the box labeled Number 1. For this example, we need to change the range from B2:B12 to B2:B11. We can do that by typing in the box and changing the numbers or we can highlight the range of cells we want included. Be careful that the array is the exact cells on which you want to make calculations.
11. The Mean or average will appear in the cell selected. Label the cell to avoid confusion.
12. The same basic procedures can be completed for Median and Mode (in some versions of Excel it will be MODE.SNGL). If there are an even number of cells in the data being used to calculate the Median, Excel will average the two center data points. For some sets of data, there may not be a Mode which Excel can calculate. If all of the numbers are different in the set on which Mode is calculated Excel will place in the cell.
13. Excel can be used to calculate a Range and a Standard Deviation to have measures of dispersion. The MIN and MAX functions can be used to calculate range by determining the lowest and highest number in the set of data.
14. The Range is the difference between the MAX and the MIN. To calculate this, you must subtract the Min from the Max by writing a formula in an Excel Cell. You must first click on the empty cell below your MAX calculation, then you will need to write a formula. You will need to click on box next to the Fx symbol. All Formulas start with an =
Your range formula will be the MAX cell minus the MIN cell. You can create the formula a couple of ways. You can type the cell locations (e.g. for this example, you could type in =( and then B then 1 then 7 and then the minus sign and then B then 1 then 6). Alternatively you can type in =( and then click on the B17 cell and B17 will appear in your equation then the minus sign and then click on the B16 cell and then type in ).
15. The Standard Deviation can also be calculated in Excel using a statistical function. Use the STDEV (STDEV.S for some versions) function if you are calculating for a sample and the STDEVP (STDEV.P) for a population. You will have to select a set of cells like we did for SUM, MEAN, MEDIAN, MODE, etc.
16. Select your set of cells on which you want the process calculated and press OK.
17. The same functions can be calculated on rows. You will need to change the set of cells selected to be the cells of the row.
18. You can copy a function to calculate for other columns or rows. Click on the cell where you calculated a function.
19. A box will appear around that cell with a dark spot on the lower right hand corner. If you click and drag on that spot, the function will replicate in additional cells based on the range rules for the original box (e.g. of the summer in column B is calculated on B2:B11 [see images 19.1 and 19.2]; then the replicated Sum in cell C12 will be calculated on C2:C12; on the other hand if the sum in H2 (calculated on B2:G2) is used to replicate a Sum in H3 then that sum will be calculated on B3:G3 [see images 19.3 and 19.4].
Image 19.1
Image 19.2
Image 19.3
Image 19.4 20. All functions can be replicated using the same technique.
Steps No pictures 1. Enter responses (or other data) in columns in an Excel spreadsheet. 2. Click on an empty cell (preferable at the bottom of the column of data that you just entered. Then, click on the Fx symbol (this will launch the Function Wizard). 3. Excel will generate a dialog box over your data set. 4. First we will calculate the Sum of a column. SUM may already be visible as a Most Recently Used function. If it is not, you can type the letters SUM in the Search for a function box then press GO. SUM should then appear in the list. 5. Click on SUM and then press OK. A menu will appear for you to confirm the range of cells you want included in your sum. 6. In this case, the list is correct (B2:B11) so press ok. If it is incorrect, it will need to be changed. An explanation on how to change it will appear in the discussion on Means. The sum will appear in the cell you selected. You might want to label the cell to remember what was calculated. 7. Click on the box below your SUM. Because we are going to calculate several statistical functions, we are going to select a category next. Click on Fx again. To change the category, click on the down arrow of the part of the screen. Several options will appear click on Statistical.
8. Next calculate the Mean of a column. Excel labels the Mean as an Average. Click on Average and press OK. We will need to change our range of cells, or the sum will be included in our Mean. 9. Click on the box labeled Number 1. For this example, we need to change the range from B2:B12 to B2:B11. We can do that by typing in the box and changing the numbers or we can highlight the range of cells we want included. Be careful that the array is the exact cells on which you want to make calculations. 10. Once the correct range of numbers appears, press OK. 11. The Mean or average will appear in the cell selected. Label the cell to avoid confusion. 12. The same basic procedures can be completed for Median and Mode (in some versions of Excel it will be MODE.SNGL). If there are an even number of cells in the data being used to calculate the Median, Excel will average the two center data points. For some sets of data, there may not be a Mode which Excel can calculate. If all of the numbers are different in the set on which Mode is calculated Excel will place #N/A in the cell. 13. Excel can be used to calculate a Range and a Standard Deviation to have measures of dispersion. The MIN and MAX functions can be used to calculate range by determining the lowest and highest number in the set of data. 14. The Range is the difference between the MAX and the MIN. To calculate this, you must subtract the Min from the Max by writing a formula in an Excel Cell. You must first click on the empty cell below your MAX calculation, then you will need to write a formula. You will need to click on box next to the Fx symbol. All Formulas start with an =. Your range formula will be the MAX cell minus the MIN cell. You can create the formula a couple of ways. You can type the cell locations (e.g. for this example, you could type in =( and then B then 1 then 7 and then the minus sign and then B then 1 then 6). Alternatively you can type in =( and then click on the B17 cell and B17 will appear in your equation then the minus sign and then click on the B16 cell and then type in ).Press enter the range will appear in the selected Cell. 15. The Standard Deviation can also be calculated in Excel using a statistical function. Use the STDEV (STDEV.S for some versions) function if you are calculating for a sample and the STDEVP (STDEV.P) for a population. You will have to select a set of cells like we did for SUM, MEAN, MEDIAN, MODE, etc. 16. Select your set of cells on which you want the process calculated and press OK. 17. The same functions can be calculated on rows. You will need to change the set of cells selected to be the cells of the row. 18. You can copy a function to calculate for other columns or rows. Click on the cell where you calculated a function. 19. A box will appear around that cell with a dark spot on the lower right hand corner. If you click and drag on that spot, the function will replicate in additional cells based on the range rules for the original box (e.g. of the summer in column B is calculated on B2:B11 [see images 19.1 and 19.2]; then the replicated Sum in cell C12 will be calculated on C2:C12; on the other hand if the sum in H2 (calculated on B2:G2) is used to replicate a Sum in H3 then that sum will be calculated on B3:G3 [see images 19.3 and 19.4]. 20. All functions can be replicated using the same technique.