Weekend or weekday
An Excel formula exercise from Formuladrill. Solve it with a formula bar on a live sheet in your browser, and it is checked the moment you submit.
The task
Label each date as Weekend (Saturday or Sunday) or Weekday. Fill B2 to B4.
What this exercise teaches
Without the second argument WEEKDAY starts the week on Sunday (Sunday is 1, Saturday is 7), and the weekend test becomes two separate checks. Type 2 puts both weekend days at the end.
A hint if you get stuck
WEEKDAY(date, 2) numbers Monday as 1 through Sunday as 7, so anything above 5 is a weekend.
Try it now, free, no account needed
Your first 15 exercises on Formuladrill are free. Open it on the practice page, solve it, and get instant feedback with a hint. A free account adds the worked solution; Pro unlocks every exercise, timed mode and the certificate.
Open this exerciseMore exercises in Text and dates
- Build an email address
- Pull out the domain
- Payment due dates
- Clean up names
- Join the tags
- Digits only
- Days between dates
- Year and month
- Contract end date
- Pay by month end
- Split last name, first name
- Calendar quarter
- Month labels with TEXT
- IDs with leading zeros
- Mask an account number
- File extension
- Completed years of service
- Working days on a task
- Ship-by dates
- Days in the month