Building Formulas With The AutoSum Tool
Posted in Software on February 2nd, 2011 by Jake Smith – Be the first to commentExcel’s AutoSum tool can be used to automatically generate formulas. You will find it in two locations on the ribbon: in the Editing section of the Home Tab; and, also in the Function Library section of the Formulas Tab.
The AutoSum tool is fairly versatile. You can use it to generate the SUM (total) of a series of numbers. To do this, select a row of cells and click on the AutoSum tool. Excel creates a SUM formula returning the total of the highlighted cells in the first available empty cell to the right of the selected range. You can then copy the formula using the Autofill handle. As you drag the AutoFill handle down, Excel copies the formula making the necessary changes to always return the correct total for each row.
You can also use the AutoSum tool to calculate the total of several columns simultaneously. To do this, highlight all the data in all columns that you wish to total and then click on the AutoSum tool. Excel creates a SUM formula at the bottom of each column in the first blank cell.
Clicking on the AutoSum tool always generates a formula containing the SUM function which returns the total of a given range of cells. However the AutoSum tool can also be used to generate other functions, such as AVERAGE. To access the other functions, click on the drop-down menu to the right of the AutoSum tool, choose a function and then make sure that Excel has correctly guessed the range of cells you wish to apply the function to.
If Excel has failed to guess, you can correct it: either by typing the correct reference; or simply resize the selection rectangle until it encloses the correct range of cells then press the Enter key or click on the Enter button located on the left of the formula bar. The formula can then be copied using the AutoFill handle.
The AVERAGE function is famous for generating too many decimal places. If you want the number of decimals to be consistent, click on the Launch button in the Number section of the Home Tab, choose “Number” as the format and then choose the number of decimal places you like.
The remaining functions available on the AutoSum tool are COUNT, which tells you the number of cells in the highlighted range containing numbers; MAX, which returns the highest value in the range; and MIN which brings up the lowest value. The final option in the AutoSum tool drop-down menu reads “Other Functions”. It gives you full access to Excel’s dazzling range of functions.
You can find out more about Excel VBA training courses, visit Macresource Computer Training, an independent computer training company offering Excel VBA training courses at their central London training centre.