Ghost Sheet

WEEKDAY: tell weekend shifts from weekdays

How do I check if a date falls on a weekend?

This is the task for this topic. It is part of the plan; the level check before it is free.
D2Type a formula for D2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDEFG
1NameDateHoursPayHourly rate24
2Zoe MarshSat 11/21/20266Weekend multiplier1.5
3Ravi MenonFri 11/20/20265
4Lily ShawTue 11/03/20265.5
5Tomas NovakThu 11/12/20268
6Omar HaddadTue 11/10/20265
7Caleb FordSat 11/07/20269.5
8Eli BrooksMon 11/23/20265.5
9Tess MooreSat 11/21/202610
10Felix WongFri 11/13/20265.5
11Maya SinghTue 11/24/20268
12Maya SinghSat 11/07/20269.5
13
14
15
16
17
18
19
20
21
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
WEEKDAY gives the day of the week as a number. On its own it counts Sunday as 1 and Saturday as 7, so the weekend sits at both ends. With 2 as the second part, Monday is 1 and Sunday 7, and the weekend is anything above 5.
The shape of the formula
=IF(WEEKDAY(date, 2) > 5, weekend value, weekday value)
How to remember it
WEEKDAY(date,2)>5 is the weekend, in one test.
The usual mistake
Testing WEEKDAY(B2)=7 for the weekend. That catches Saturday only, and Sunday shifts are paid as weekdays.

Keep practicing

Updated