Write your first formulas!
Let's dive in to working with the data!
The first thing we might want to do on the Sales page is to calculate the total revenue gained from each sale, which is simply the the number of units sold times the revenue per unit. Click to enter cell G6, type:
and press enter. You've just written your first formula! The formula will disappear and the cell will display the revenue gained from the first sale, $609.90. Now copy the formula (highlight cell G6 by clicking on it, then do Ctrl-C or right-click and select Copy), highlight the rest of the column (from cell G7 to G32), and paste (Ctrl-V or right-click and select Paste).
Now that we've got all the individual sales' revenues, one of the most sensible questions to ask is what the total sales revenue was in 2011. Scroll down to row 34 and select cell G34. We're going to enter a formula in this cell that will return the total value of all the sales in the column above it. The best way to do this is using the SUM formula. In cell G34, enter the formula
and press enter. Again, the formula should disappear and be replaced by the total sales figure we were looking for, $18,989.77.
A few notes about formulas:
Remember to always start formulas with the equals sign, so that the spreadsheet knows you're entering a formula rather than trying to edit the value of the cell.
The formula's result will change when its inputs change. What if a member of the sales team comes to you to say that they made a mistake: the June sale to customer D32 was actually for 20 units and not 25. Find the errant cell, make the change, and watch the change populate into the Revenue column and to the Total figure you just calculated.
You may have guessed that the letter-number codes in the formulas you've been writing were references to the cells with those coordinates. That's true! And in the case of the Total formula, the colon between the two cell references means the formula is referring to the entire range between (and including) them, instead of just to the two individual cells (which would be denoted by changing the colon to a comma). Try to write the formulas again, but instead of typing the cell locations directly, select the cells you wish to refer to with your mouse. In the case of the Total Revenue formula, you can just click the first cell, then type the "*", then click the second cell. In the case of the Total formula, simpley click the top cell, drag the cursor down to the bottom one, and let go. You can do the same thing by navigating with the keyboard's arrow keys, and using the Shift key when necessary. Can you figure out how?