Lesson 13. Understanding and fixing error values
Use the Trip sheet in lesson13.xlsx: the cost per person of a year-end trip. It contains six different errors.
Files: lesson13.xlsx · solutions: lesson13-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
Show the answer
D6: #VALUE!; in C6 the number of people is written in words ("forty"): type the number 40. D7: #DIV/0!; C7 is empty and the formula divides by an empty cell: type 40. B11: #NAME?; in the formula (Excel shows it as =@IF(B10>6000,Yes,"No")) the text Yes has no quotation marks: type =IF(B10>6000,"Yes","No"), result Yes. H4: #N/A; the item looked up in H3 is called "Museums," but in the table it's "Museum": type Museum, result $8.00 (after fixing D6). H6: #REF!; the formula =D4+#REF! pointed to a deleted cell: type =D4+D5. Column E: #####; the column is too narrow for the dates: widen it by double-clicking the border between E and F.
Exercise 2
Show the answer
D7 = $6.25 ($250.00 divided by 40); H6 = $120.00 ($30.00 + $90.00).
Exercise 3
Show the answer
=IFERROR(B7/C7,"To be confirmed"). IFNA only acts on the #N/A error, and here the error is #DIV/0!.
Exercise 4
=AVERGE(B4:B8); b) =B4/0; c) =VLOOKUP("Train",A4:D8,4,FALSE).Show the answer
a) #NAME? (the function is called AVERAGE); b) #DIV/0!; c) #N/A (there is no Train item in the table).
Bonus challenge
The answer isn't in the book: you check it only here.
Show the answer
After the fixes (40 in C6 and C7), =SUM(D4:D8) = $151.25: $30.00 (bus) + $90.00 (hostel) + $8.00 (museum) + $6.25 (guided tour) + $17.00 (meals). It's the same as dividing the total cost of the trip, $6,050.00, by 40. If D6 or D7 still shows an error, the SUM shows an error too: fix the causes first.