0
0
Google Sheetsspreadsheet~15 mins

WEEKDAY and WORKDAY in Google Sheets - Deep Dive

Choose your learning style9 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.