Lesson 11. Dates and times: due dates, workdays and ages
Use the Exercises sheet in lesson11.xlsx: the students of a pottery class, with the reference date 12/15/2026 in B2 and the 2026 federal holidays in J4:J14.
Files: lesson11.xlsx · solutions: lesson11-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
=DATEDIF(B5,$B$2,"Y") = 40: Brian's birthday is December 20, after the reference date. =YEAR($B$2)-YEAR(B5) would give 41, which is wrong.
Exercise 2
Show the answer
=$B$2-C6 = 180 days.
Exercise 3
Show the answer
=NETWORKDAYS(C7,$B$2,$J$4:$J$14) = 72. Without the holiday list you would get 76: four holidays fall on weekdays in that period (Labor Day, Columbus Day, Veterans Day and Thanksgiving).
Exercise 4
Show the answer
=WORKDAY(C8,5,$J$4:$J$14) = 5/28/2026 (Memorial Day, 5/25/2026, doesn't count); without holidays, =WORKDAY(C8,5) = 5/27/2026.
Bonus challenge
The answer isn't in the book: you check it only here.
Show the answer
=DATE(YEAR($B$2)+1,MONTH(B6),DAY(B6))-$B$2 = 78 days, from 12/15/2026 to 3/3/2027. DATE builds next year's birthday with the month and day from B6, then you subtract the reference date. Without the +1 you get a negative number: that's the 2026 birthday, which has already passed.