The formula used the most is SUM. The AutoSum
feature makes it easy to total columns or rows. Excel will guess what
cells you want to add based on which cells are empty. A neat trick!
AutoFill can help copy a formula across a row or down a column. Just be careful that all cells used in the formula are in the same row or same column.

If you need to use a fixed cell, you must use an absolute reference for that cell.
| |
Step-by-Step: AutoSum |
|
| What you will learn: | to enter data in a column |
Start with:
trips6-Lastname-Firstname.xlsx (saved in previous lesson)
# of people Total
9
17000
23
36000
18
27000
18
36000
12
24000
20
51000
12
42000
12
36000
The range includes a blank cell, which Excel understands and will ignore.
Save.
[trips7-Lastname-Firstname.xlsx]
Why did we skip column D? That column shows the cost for one trip. The total of those numbers is not useful!
Select cell A37 and type Totals:
Autofill from cell
C37 to D37.
(Move the mouse pointer over the bottom right corner of
C37 until it changes to the AutoFill shape
and drag to the right.)
The formula in C37 is copied into D37 but the cell references are changed.
This method would be really helpful when there are a lot of columns that use the
same type of formula.
(Check: are the totals in the lower table the same as in the upper table? They should be.)
Now that you have your totals for rows and for the Totals columns, it would be nice to have them look like money! The Home tab and Mini-Toolbar have a $ button that will apply the currency formatting from the Regional Settings in the Windows Control Panel.
In
the Name box, type the following: E5:E23, E25, D28:D35, D37 and press the ENTER key.Next you are going to add some formulas to create a new column on the lower table. The cells will calculate what percentage of the total sales each week contributed. You will see exactly what can happen when you autofill a formula that needs a value that is in only one cell and how to fix that problem.
Click in cell E27 and type % of Total and press ENTER.
Drag the AutoFill handle for cell E28 down the column
to cell E35.Click in cell E29 and inspect the formula in the
Formula Bar.
AutoFill changed
the row part of the cell references for the numerator and the
denominator to =D29/D38
But cell D38
is empty.
You need to modify the original formula to
use an absolute reference for the total
in D37, which will not change when the formula is copied.
Double-click on cell E28.
Drag the AutoFill handle for cell E28 down to E35 again.
While
the E28:E35 is still selected, right click the
selection. 
You must check your work by checking the formulas, not just the values in Normal view.
Show formulas, CTRL + `