In the Refers To section, we want to enter. Now let's create a name for a constant. In this example, we'll say it's sales tax.Ĭlick in an empty cell, then go to Define Name. Instead of having to write out the formula as =SUM(D2:D10), we can simply enter in =SUM(Friday), then hit Enter. If we didn't, we'd enter a new name in the Name field, then the scope - if we want it to apply to the entire workbook or just the worksheet - then any comments we want to add. We want the name to stay the same as our label January.
Next, we go to Formulas tab, then the Defined Names group.Ĭlick the dropdown arrow beside the Define Name button. To do this, we're going to select the column "January". In the snapshot below, we want to name the column January as "Friday." This way, when constructing formulas, we can simply enter in Friday instead of a range of cells. Names can also represent an unchanging number (called a constant) or even a formula. To add the sum of all the values above cell E13, we go to the Home tab, then click the AutoSum button.Įxcel automatically selected the range of cells we want to use in the argument, then entered the arguments into our function.Īs you learned earlier, a label is used to identify a range of cells such as a column or a row. You can also create a name to represent a cell or a range of cells for quicker reference in a formula. Let's calculate the sales total for column E in our worksheet.Īs you can see, we selected cell E13 in our worksheet. This is where the sales total will appear. You don't have to do anything to use the SUM feature of AutoSum but select the cell. If you want to use AVERAGE, COUNT, MAX, or MIN, you need to select them from the dropdown menu pictured above. It can also select the most likely range of cells in a column or row that you want to use as the argument, then enters them for you. To use AutoSum in Excel, go to the Editing group under the Home tab on the Ribbon.Īs you can see, you can use this tool to calculate the SUM, AVERAGE, COUNT, MAX, or MIN.ĪVERAGE is the average of all the values in the cells.ĬOUNT counts the number of cells that contain numbers. In other words, if we select sell E13 in the worksheet below, the AutoSum feature will add the numbers in the cells above it that are still in the same column.
defines the AutoSum as a "function in a spreadsheet program that inserts a formula in the selected cell that adds the numbers in the column above it." Once again, we enter "average of cells" in the "Search for a Function field," then click the Go button. To do this, we are going to click Insert Function on the Ribbon under the Formulas tab. We want the average sales for January displayed in D12. We want to determine the average sales for the month of January. As you can see, we've created a row for the average sales.
Now that you know how to insert a function, let's insert a function into an actual spreadsheet.Ĭlick Cancel to exit out of the Insert Function box – if you're following along – and take a look at our sample worksheet in the following snapshot. In the snapshot below, you can see what calculation it performs. In the Select a Function field, you can click on different functions to see what calculations they perform. We already clicked on "AVERAGE". In the "Select a Function" field, Excel provides a list of functions that relate to what you entered into the "Search for a Function" field.
In the Search for a Function section of the above dialogue box, you can type in a description of what type of function you want to use. We typed in Average of Cells. Click Go. The great thing about using functions in Excel is that you don't have to know the function to get started. All you have to know is what you want to do, such as average a column of numbers. When you click Insert Function, you'll see this dialogue box: To insert a function directly into a cell, click the cell where you want to insert the function. Next, go to the Formulas tab, then click Insert Function.