The book: files and exercises · Lesson 7 of 24

Lesson 7 exercises: relative and absolute references, the $ sign

Four exercises on the $ sign: relative, absolute and mixed references. Here the checker copies your formula into the other cells, like the fill handle, and shows you where it breaks if a $ is missing.

Lesson 7. Relative and absolute references: the $ sign explained once and for all

Use the file lesson07.xlsx.

Files: lesson07.xlsx · solutions: lesson07-solutions.xlsx.

In the exercises with a sheet, type the formula in the fx bar and click Check: the sheet works it out the way Excel does, with commas between the arguments (semicolons work too), and also tries it with other data, to see whether it still works when the data changes. In the other exercises, you work in Excel with the lesson's file and type the result here.

At the end of the page you'll find the lesson's Bonus challenge: one more exercise, whose answer isn't in the book. You check it only here.

Exercise 1

Exercises sheet: in B9, calculate the total of the budget. Then type a percent-of-total formula in C4 that you can copy down to C8 without errors. What percentage is Electricity and gas?
In cell B9
fx
In cell C4 (the check copies the formula down to C8, like the fill handle)
fx
What percentage is Electricity and gas?
Show the answer

=SUM(B4:B8) = $2,000.00; in C4 =B4/$B$9, copied down to C8. Electricity and gas: =B6/$B$9 = 12%.

Exercise 2

Prices sheet, after fixing the formulas as in section 7.6: as a test, change the sales tax rate in G3 from 7% to 10%. What is the total price of the table now? (Then put 7% back.)
With a 10% sales tax in G3, what is the total price of the table?
Show the answer

Table with a 10% sales tax: $198.00 ($180.00 + $18.00).

Exercise 3

Table sheet, completed as in section 7.7: what formula is in H11, and what result does it give?
Type the formula that goes in H11 (the check copies it to B4:K13)
fx
What result does it give?
Show the answer

=$A11*H$3 = 56 (8 × 7).

Exercise 4

Without Excel: cell D12 holds the formula =B5*$F$2. You copy it and paste it into E14. What formula do you get in E14?
What formula do you get in E14?
Show the answer

=C7*$F$2: one column to the right and two rows down, so B5 becomes C7, while $F$2 stays put.

Bonus challenge

The answer isn't in the book: you check it only here.

Table sheet: instead of multiplying, subtract. In B4, type a formula that calculates the number in column A minus the number in row 3, and that you can copy into the whole range B4:K13. How many cells in the range show a negative number?
In cell B4 (the check copies the formula down to K13, like the fill handle)
fx
How many cells show a negative number?
Show the answer

Type =$A4-B$3 in B4 and copy it into B4:K13. The $ before A keeps the column A numbers, and the $ before 3 keeps the row 3 numbers, just like the multiplication table in section 7.7. On the diagonal, where the two numbers are equal, you get 0 (10 cells). Above the diagonal, the number in row 3 is bigger, so the result is negative: 45 cells, that is 9 + 8 + 7 + ... + 1. The other 45 cells, below the diagonal, are positive.