Home
Challenges
Highlight Weekend Shifts
Analysis
Easy

Highlight Weekend Shifts

An Excel shift schedule includes work dates, and you need to detect which rows fall on weekends before payroll is reviewed.

AuthorExcelClash Team
PublishedApr 02, 2026
Highlight Weekend Shifts

The Problem

A raw date does not always tell you much at a glance. In a shift log, the real question is often whether that date lands on a weekend, because that can affect staffing reviews, overtime checks, or bonus pay.

This challenge keeps that logic simple. We classify each shift as Weekend or Weekday, then count how many weekend shifts appear in the list.

How We Solve It

WEEKDAY turns each date into a day number. With return type 2, Monday becomes 1 and Sunday becomes 7, which means weekend dates are easy to spot because they are greater than 5.

Method 1: Basic WEEKDAY output

Basic Weekday Illustration
Method 1: Return the day of week as a number.

The plain WEEKDAY function returns a numeric day code. That is useful for understanding how Excel reads the date, but for this worksheet we want a cleaner label in the final column.

This solves the first part of the problem by translating the raw date into something Excel can test. Once the date becomes a weekday number, the sheet can decide whether that shift falls on a weekend or a normal workday.

=WEEKDAY(A2)

Method 2: WEEKDAY with return type 2

Type 2 Illustration
Method 2: Start the week on Monday so weekend days become 6 and 7.

This is the approach the validator expects. Once Monday is treated as 1, any result above 5 is a Saturday or Sunday. Wrapping that check in IF gives us the readable status we want.

This solves the full challenge because the row only needs one final label in column C. By using return type 2, the weekend rule becomes simple and the formula can classify each shift without extra helper columns.

=IF(WEEKDAY(A2, 2) > 5, "Weekend", "Weekday")

Method 3: Convert the date to text

Text Weekday Illustration
Method 3: Show the full day name when the list needs to be easier to read.

If the sheet is meant for people who do not want day numbers at all, TEXT can display the weekday name directly. That is not required for this challenge, but it is a useful presentation step after the classification is done.

This solves the readability side of the problem. It does not replace the weekend test, but it makes the schedule easier to review when people want to see Saturday or Sunday instead of a day number.

=TEXT(A2, "dddd")

Function Explanation

1. WEEKDAY

WEEKDAY returns the day of week for a date. The return type matters because it changes which number represents each day.

Learn more this functionWEEKDAY

2. IF

IF converts the day check into a category label. That is what makes the result useful for people reading the sheet instead of reading formula logic.

Learn more this functionIF

3. COUNTIF

COUNTIF counts how many rows ended up marked as Weekend. That gives us the summary total without another manual scan.

Learn more this functionCOUNTIF

The biggest thing to watch with weekday formulas is the numbering system you choose. The formula can be correct and still give the wrong category if the return type does not match the logic you wrote around it.

Try Yourself

Classify each shift date as a weekend or weekday, then finish the summary so the sheet shows the total number of shift records and how many of them fall on the weekend.

1
Objective #1
Cell: C2-C6

In Column C, identify if the date in Column A is a "Weekend" or "Weekday". Use a formula that checks for Saturday and Sunday.

2
Objective #2
Cell: B9

In cell B9, count the total number of shift records in your list.

3
Objective #3
Cell: B10

In cell B10, identify the total count of "Weekend" shifts in your database roster.

Tactical Arena
Objectives Met: 0 / 0
Share this challenge
Share this challenge

Let others know about this challenge!

Related Challenges
Analysis
#21
Calculate BMI (Index)

An Excel health tracker stores weight and height, and you need to calculate BMI and place each result into the right category.

Easy
Lookup
#22
Map Product Categories

An Excel product list uses short code prefixes, and you need to convert them into readable category names.

Easy
Forecasting
#23
Estimate Completion Time

An Excel task sheet has start dates and durations, and you need to calculate delivery dates without counting weekends.

Easy
Cleanup
#24
Validate Email Formats

An Excel email list contains questionable entries, and you need to flag which ones match a basic valid format.

Easy
Discussion
0 Feedbacks
ExcelClash

ExcelClash is an interactive platform designed to level up your Excel skills through real-world exercises and challenges. Sharpen your logic, solve real spreadsheet problems, and learn faster—without boring lessons. Just hands-on practice that actually sticks.

Navigation
Back to Challenges
Go to Dashboard
Platform Home
Discover
SUM FunctionsLookup FunctionsConditional FunctionsLogical Functions
Support
About UsContact UsPrivacy PolicyTerms of Service
© 2026 ExcelClash, Inc. All rights reserved.
Objectives Met: 0 / 0