Bird
Raised Fist0
Google Sheetsspreadsheet~15 mins

WEEKDAY and WORKDAY in Google Sheets - Deep Dive

Choose your learning style10 modes available
Overview - WEEKDAY and WORKDAY
What is it?
WEEKDAY and WORKDAY are two useful functions in spreadsheets that help you work with dates. WEEKDAY tells you which day of the week a date falls on, like Monday or Friday. WORKDAY helps you find a date that is a certain number of working days away, skipping weekends and optionally holidays. These functions make managing schedules and deadlines easier.
Why it matters
Without WEEKDAY and WORKDAY, you would have to manually count days or check calendars to find weekdays or workdays. This is slow and error-prone, especially for long periods or when holidays matter. These functions save time and reduce mistakes in planning, payroll, project management, and more.
Where it fits
Before learning these, you should understand basic date formats and simple date arithmetic in spreadsheets. After mastering WEEKDAY and WORKDAY, you can explore more advanced date functions like NETWORKDAYS, EOMONTH, and custom holiday lists for better scheduling.
Mental Model
Core Idea
WEEKDAY tells you the day number of a date in the week, and WORKDAY calculates future or past dates counting only working days, skipping weekends and holidays.
Think of it like...
Think of WEEKDAY as looking at a calendar to see which day of the week a date is, like checking if a meeting is on Tuesday. WORKDAY is like planning your work schedule by skipping weekends and holidays, just like you wouldn’t plan a meeting on a Saturday.
Date Input ──▶ WEEKDAY ──▶ Day Number (1=Sunday to 7=Saturday)

Date Input + Days ──▶ WORKDAY ──▶ Future/Past Workday Date (skips weekends/holidays)
Build-Up - 7 Steps
1
FoundationUnderstanding Date Formats in Sheets
🤔
Concept: Dates are stored as numbers in spreadsheets, which lets us do math with them.
In Google Sheets, dates are numbers starting from December 30, 1899. For example, January 1, 2024 is stored as 45175. You can add or subtract numbers to move between dates. For example, =A1+1 moves one day forward.
Result
You can see that adding 1 to a date moves to the next day.
Understanding that dates are numbers lets you use math and functions like WEEKDAY and WORKDAY effectively.
2
FoundationBasic Use of WEEKDAY Function
🤔
Concept: WEEKDAY returns a number representing the day of the week for a date.
Syntax: =WEEKDAY(date, [type]) - date: the date to check - type: optional, controls numbering (default 1 means Sunday=1) Example: =WEEKDAY("2024-06-10") returns 2 because June 10, 2024 is Monday.
Result
The function returns a number from 1 to 7 indicating the weekday.
Knowing how WEEKDAY numbers days helps you identify weekdays or weekends easily.
3
IntermediateCustomizing WEEKDAY Numbering
🤔Before reading on: do you think WEEKDAY can start counting from Monday as 1 instead of Sunday? Commit to yes or no.
Concept: WEEKDAY lets you choose which day is counted as 1 using the 'type' argument.
The 'type' argument changes numbering: - 1 or omitted: Sunday=1, Monday=2, ..., Saturday=7 - 2: Monday=1, Tuesday=2, ..., Sunday=7 - 3: Monday=0, Tuesday=1, ..., Sunday=6 Example: =WEEKDAY("2024-06-10", 2) returns 1 because Monday is 1.
Result
You get weekday numbers starting from your chosen first day.
Custom numbering lets you align WEEKDAY with your local week start or business rules.
4
IntermediateUsing WORKDAY to Skip Weekends
🤔Before reading on: if you add 5 days to a Friday using WORKDAY, do you think the result is next Friday or next Monday? Commit to your answer.
Concept: WORKDAY adds or subtracts days counting only weekdays, skipping weekends automatically.
Syntax: =WORKDAY(start_date, days, [holidays]) - start_date: date to start from - days: number of workdays to add (can be negative) - holidays: optional range of dates to skip Example: =WORKDAY("2024-06-07", 5) adds 5 workdays to June 7, 2024 (Friday), skipping weekend, resulting in June 14, 2024 (Friday).
Result
The function returns a date that is the given number of workdays away, ignoring weekends.
WORKDAY automates skipping weekends, saving manual counting and errors.
5
IntermediateIncluding Holidays in WORKDAY Calculations
🤔
Concept: WORKDAY can skip custom holidays by providing a list of dates to ignore.
You can add a range of holiday dates as the third argument. Example: If holidays are in cells A10:A12, use =WORKDAY("2024-06-07", 5, A10:A12). This skips weekends and any dates in A10:A12 when counting days.
Result
The returned date excludes weekends and holidays, giving a true working day.
Including holidays makes scheduling more accurate for real-world business calendars.
6
AdvancedCombining WEEKDAY and WORKDAY for Scheduling
🤔Before reading on: can you use WEEKDAY and WORKDAY together to find the next Monday after a date? Commit to yes or no.
Concept: You can use WEEKDAY to check days and WORKDAY to calculate next workdays for flexible scheduling.
Example: To find the next Monday after a date in A1: =WORKDAY(A1 - WEEKDAY(A1, 2) + 1, 1) This adjusts the date to the previous Monday, then adds 1 workday to get next Monday. You can customize this for other weekdays or skip holidays.
Result
You get the date of the next Monday after the given date, skipping weekends and holidays.
Combining these functions allows powerful date calculations beyond simple addition.
7
ExpertHandling Non-Standard Weekends with WORKDAY.INTL
🤔Before reading on: do you think WORKDAY can handle weekends other than Saturday and Sunday? Commit to yes or no.
Concept: Google Sheets offers WORKDAY.INTL to customize which days count as weekends.
Syntax: =WORKDAY.INTL(start_date, days, [weekend], [holidays]) - weekend: a 7-character string like "0000011" where 1 means weekend day Example: "0000011" means Saturday and Sunday are weekends (default). "0000001" means only Sunday is weekend. This lets you calculate workdays for countries with different weekends.
Result
You can calculate workdays skipping any custom weekend days and holidays.
WORKDAY.INTL expands WORKDAY’s power to global and special scheduling needs.
Under the Hood
Internally, WEEKDAY converts the date number to a day index by calculating the remainder when dividing by 7, adjusted by the chosen start day. WORKDAY counts days forward or backward, skipping dates identified as weekends or holidays by checking each date’s weekday number and comparing against holiday lists.
Why designed this way?
These functions were designed to simplify common date tasks in business and personal planning. WEEKDAY provides a simple numeric day code for easy logic. WORKDAY automates skipping non-working days, a frequent manual task prone to errors. The design balances simplicity with flexibility by allowing optional parameters for numbering and holidays.
┌─────────────┐       ┌───────────────┐
│   Date #    │──────▶│ WEEKDAY Logic │─────▶ Day Number
└─────────────┘       └───────────────┘

┌─────────────┐       ┌───────────────┐       ┌───────────────┐
│ Start Date  │──────▶│ WORKDAY Count │──────▶│ Check Weekend │
│ Days to Add │       │ (skip weekends)│      │ & Holidays    │
└─────────────┘       └───────────────┘       └───────────────┘
                                         │
                                         ▼
                                  Result Date
Myth Busters - 4 Common Misconceptions
Quick: Does WEEKDAY always start counting from Sunday as 1? Commit to yes or no.
Common Belief:WEEKDAY always counts Sunday as day 1 and Saturday as day 7.
Tap to reveal reality
Reality:WEEKDAY’s numbering can start on different days depending on the 'type' argument, so Monday can be 1 if chosen.
Why it matters:Assuming Sunday is always 1 can cause errors in logic that depends on the weekday number, especially in regions where weeks start on Monday.
Quick: Does WORKDAY count holidays automatically if you don’t list them? Commit to yes or no.
Common Belief:WORKDAY automatically knows all public holidays and skips them without input.
Tap to reveal reality
Reality:WORKDAY only skips weekends by default; you must provide a list of holidays to skip them.
Why it matters:Not providing holidays can cause scheduling on actual holidays, leading to incorrect deadlines or payroll calculations.
Quick: Can WORKDAY handle weekends other than Saturday and Sunday without extra parameters? Commit to yes or no.
Common Belief:WORKDAY always skips Saturday and Sunday only, no exceptions.
Tap to reveal reality
Reality:Standard WORKDAY only skips Saturday and Sunday; to handle other weekends, you must use WORKDAY.INTL with custom weekend settings.
Why it matters:Using WORKDAY without weekend customization in countries with different weekends causes wrong workday calculations.
Quick: Does WEEKDAY return the weekday name like 'Monday' or just a number? Commit to yes or no.
Common Belief:WEEKDAY returns the weekday name directly.
Tap to reveal reality
Reality:WEEKDAY returns a number; to get the name, you must use additional functions like TEXT or CHOOSE.
Why it matters:Expecting a name directly can confuse beginners and cause errors in displaying or using weekday names.
Expert Zone
1
WORKDAY and WEEKDAY rely on the spreadsheet’s date system, so incorrect date formats or locale settings can cause subtle bugs.
2
Using WORKDAY.INTL with custom weekend strings requires careful mapping of days to the 7-character code, which can be confusing but powerful.
3
Combining WEEKDAY with conditional formatting or array formulas can create dynamic schedules that update automatically with date changes.
When NOT to use
Avoid WORKDAY if you need to count all calendar days including weekends and holidays; use simple date addition instead. For complex calendars with irregular holidays or partial workdays, consider custom scripts or add-ons. WEEKDAY is not suitable if you want localized weekday names directly; use TEXT with custom formats instead.
Production Patterns
In real-world use, WORKDAY is common in payroll systems to calculate pay periods and deadlines. WEEKDAY is used in scheduling apps to highlight weekends or trigger alerts on specific weekdays. Advanced users combine these with holiday tables and dynamic ranges to automate business calendars.
Connections
Conditional Formatting
Builds-on
Knowing WEEKDAY helps create rules that highlight weekends or specific weekdays automatically in calendars.
Project Management
Same pattern
WORKDAY’s logic mirrors how project managers count working days to set realistic deadlines, skipping non-working days.
Business Operations
Builds-on
Understanding WORKDAY supports accurate payroll and shift scheduling, critical for smooth business operations.
Common Pitfalls
#1Adding days to a date without skipping weekends causes wrong workday results.
Wrong approach:=A1 + 5 // Adds 5 calendar days, includes weekends
Correct approach:=WORKDAY(A1, 5) // Adds 5 workdays, skips weekends
Root cause:Confusing calendar days with workdays leads to incorrect scheduling.
#2Not providing holidays to WORKDAY causes scheduling on holidays.
Wrong approach:=WORKDAY("2024-12-20", 5) // Ignores holidays
Correct approach:=WORKDAY("2024-12-20", 5, HolidaysRange) // Skips holidays
Root cause:Assuming WORKDAY knows holidays by default causes missed holiday skips.
#3Using WEEKDAY without specifying type leads to wrong weekday numbering for some locales.
Wrong approach:=WEEKDAY(A1) // Sunday=1 always
Correct approach:=WEEKDAY(A1, 2) // Monday=1, matches many business weeks
Root cause:Not customizing WEEKDAY numbering causes logic errors in weekday-based formulas.
Key Takeaways
WEEKDAY returns a number representing the day of the week for any date, with customizable numbering to fit your week start.
WORKDAY calculates future or past dates counting only working days, automatically skipping weekends and optionally holidays.
Including holidays in WORKDAY makes scheduling accurate for real-world business calendars.
WORKDAY.INTL extends WORKDAY by allowing custom weekend definitions for global or special cases.
Combining WEEKDAY and WORKDAY enables powerful date calculations for scheduling, planning, and automation.

Practice

(1/5)
1. What does the WEEKDAY function return when given a date in Google Sheets?
easy
A. The name of the month for that date
B. The date of the next working day
C. The number of days between two dates
D. A number representing the day of the week for that date

Solution

  1. Step 1: Understand the purpose of WEEKDAY

    The WEEKDAY function returns a number from 1 to 7 representing the day of the week for a given date.
  2. Step 2: Compare options with function behavior

    Only a number representing the day of the week for that date correctly describes this behavior; others describe unrelated functions.
  3. Final Answer:

    A number representing the day of the week for that date -> Option D
  4. Quick Check:

    WEEKDAY = day number [OK]
Hint: WEEKDAY gives day number, not names or intervals [OK]
Common Mistakes:
  • Thinking WEEKDAY returns the month's name
  • Confusing WEEKDAY with date difference functions
  • Assuming WEEKDAY returns the next workday
2. Which of the following is the correct syntax to add 5 working days to a date in cell A1, skipping weekends in Google Sheets?
easy
A. =WEEKDAY(A1 + 5)
B. =WORKDAY(A1, 5)
C. =WORKDAY(5, A1)
D. =WORKDAY(A1 + 5)

Solution

  1. Step 1: Recall WORKDAY function syntax

    WORKDAY(start_date, days, [holidays]) adds working days to start_date, skipping weekends.
  2. Step 2: Check each option's syntax

    =WORKDAY(A1, 5) correctly uses WORKDAY with start_date A1 and 5 days. Others misuse argument order or functions.
  3. Final Answer:

    =WORKDAY(A1, 5) -> Option B
  4. Quick Check:

    WORKDAY(start_date, days) [OK]
Hint: WORKDAY(start_date, days) adds workdays skipping weekends [OK]
Common Mistakes:
  • Swapping arguments in WORKDAY
  • Using WEEKDAY instead of WORKDAY to add days
  • Adding days directly without WORKDAY
3. If cell A1 contains the date 2024-06-14 (a Friday), what will =WORKDAY(A1, 3) return?
medium
A. 2024-06-19 (Wednesday)
B. 2024-06-18 (Tuesday)
C. 2024-06-17 (Monday)
D. 2024-06-20 (Thursday)

Solution

  1. Step 1: Identify the start date and days to add

    Start date is Friday, June 14, 2024. We add 3 working days skipping weekends.
  2. Step 2: Count 3 working days skipping weekend

    Day 1: Monday, June 17
    Day 2: Tuesday, June 18
    Day 3: Wednesday, June 19
  3. Final Answer:

    2024-06-19 (Wednesday) -> Option A
  4. Quick Check:

    WORKDAY skips weekends, so 3 workdays after Friday is Wednesday [OK]
Hint: Count workdays skipping Sat/Sun after start date [OK]
Common Mistakes:
  • Counting weekend days as workdays
  • Adding days directly without WORKDAY
  • Misidentifying the weekday of the start date
4. The formula =WORKDAY(A1, 10, C1:C3) returns an error. What is the most likely cause?
medium
A. WORKDAY cannot accept a range for holidays
B. The second argument must be a date, not a number
C. The holidays range C1:C3 contains invalid dates
D. The start date in A1 is not a valid date

Solution

  1. Step 1: Understand WORKDAY arguments

    WORKDAY(start_date, days, [holidays]) expects holidays as valid dates in a range.
  2. Step 2: Identify common error with holidays

    If holidays range contains invalid or text values, WORKDAY returns an error.
  3. Final Answer:

    The holidays range C1:C3 contains invalid dates -> Option C
  4. Quick Check:

    Invalid holiday dates cause WORKDAY errors [OK]
Hint: Check holiday dates for validity if WORKDAY errors [OK]
Common Mistakes:
  • Assuming days argument must be a date
  • Thinking WORKDAY can't accept holiday ranges
  • Ignoring invalid or text values in holidays
5. You want to find the weekday number of the date that is 7 working days after 2024-06-10, excluding weekends and the holidays in range B1:B2. Which formula correctly does this?
hard
A. =WEEKDAY(WORKDAY(DATE(2024,6,10), 7, B1:B2))
B. =WORKDAY(WEEKDAY(DATE(2024,6,10)), 7, B1:B2)
C. =WEEKDAY(DATE(2024,6,10) + 7)
D. =WORKDAY(DATE(2024,6,10), 7) + WEEKDAY(B1:B2)

Solution

  1. Step 1: Calculate the date 7 working days after June 10, 2024

    Use WORKDAY with start date DATE(2024,6,10), days 7, and holidays B1:B2 to skip weekends and holidays.
  2. Step 2: Find the weekday number of the resulting date

    Wrap the WORKDAY result inside WEEKDAY to get the day number of that date.
  3. Final Answer:

    =WEEKDAY(WORKDAY(DATE(2024,6,10), 7, B1:B2)) -> Option A
  4. Quick Check:

    WORKDAY then WEEKDAY gives weekday number after skipping holidays [OK]
Hint: Use WORKDAY inside WEEKDAY to get weekday number after workdays [OK]
Common Mistakes:
  • Using WEEKDAY before WORKDAY
  • Adding days directly ignoring holidays
  • Trying to add WEEKDAY results to dates
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard