Discover how to make your date calculations effortless and error-free with just two simple functions!
Why WEEKDAY and WORKDAY in Excel? - Purpose & Use Cases
Imagine you have a list of dates and you need to find out which day of the week each date falls on, or calculate a future date skipping weekends and holidays manually.
For example, planning project deadlines or scheduling meetings without including weekends can be tricky.
Doing this by hand means counting days on a calendar, checking each date if it's a weekend or holiday, and then adjusting your plans.
This is slow, easy to mess up, and hard to update if your dates change.
The WEEKDAY and WORKDAY functions in Excel do this work for you automatically.
WEEKDAY tells you the day number of the week for any date, and WORKDAY calculates a future or past date skipping weekends and holidays.
This saves time and avoids mistakes.
Check calendar day by day and mark weekends manually=WEEKDAY(A1) and =WORKDAY(A1, 5, holidays)
You can quickly find weekdays or calculate working days for scheduling without errors or extra effort.
A manager can use WORKDAY to set a project deadline 10 working days from today, automatically skipping weekends and company holidays.
Manual date checks are slow and error-prone.
WEEKDAY and WORKDAY automate day calculations.
They help plan schedules easily and accurately.
Practice
=WEEKDAY(A1) return when A1 contains a date?Solution
Step 1: Understand WEEKDAY function purpose
The WEEKDAY function returns a number from 1 to 7 representing the day of the week for a given date.Step 2: Apply to cell A1
Since A1 contains a date, =WEEKDAY(A1) returns the day number of that date.Final Answer:
A number representing the day of the week for the date in A1 -> Option BQuick Check:
WEEKDAY = day number [OK]
- Thinking WEEKDAY returns the day name
- Confusing WEEKDAY with WORKDAY
- Expecting a date instead of a number
Solution
Step 1: Recall WORKDAY syntax
WORKDAY(start_date, days) returns the date after adding 'days' workdays to start_date, skipping weekends.Step 2: Apply to find next workday
To find the next workday after B2, add 1 workday: =WORKDAY(B2, 1) is correct syntax.Final Answer:
=WORKDAY(B2, 1) -> Option AQuick Check:
WORKDAY(date, 1) = next workday [OK]
- Using WORKDAY with only one argument
- Confusing WEEKDAY with WORKDAY
- Passing text like "next" instead of a number
=WORKDAY(C3, 3) return?Solution
Step 1: Identify start date and days to add
Start date is 2024-06-14 (Friday). We add 3 workdays, skipping weekends.Step 2: Count workdays skipping weekend
Adding 1 workday: Monday 2024-06-17
Adding 2 workdays: Tuesday 2024-06-18
Adding 3 workdays: Wednesday 2024-06-19Final Answer:
2024-06-19 (Wednesday) -> Option DQuick Check:
WORKDAY adds days skipping weekends [OK]
- Counting weekend days as workdays
- Adding days directly without WORKDAY
- Confusing date formats
=WORKDAY(A1, 5, {"2024-06-19"}) returns an error. What is the likely cause?Solution
Step 1: Understand WORKDAY holiday argument
The third argument for WORKDAY is a range or array of dates, not text strings in quotes.Step 2: Identify error cause
Using {"2024-06-19"} passes a text string, not a date value, causing an error.Final Answer:
The holidays argument must be a range, not an array of text strings -> Option CQuick Check:
Holidays must be date values, not text [OK]
- Passing holiday dates as text strings
- Ignoring the third argument format
- Assuming WORKDAY only takes two arguments
Solution
Step 1: Calculate date 10 workdays after 2024-06-01 excluding holiday
Use WORKDAY with start date, days, and holiday as DATE(2024,6,12) to get correct date.Step 2: Find weekday number of that date
Wrap WORKDAY result inside WEEKDAY to get the day number.Final Answer:
=WEEKDAY(WORKDAY("2024-06-01", 10, DATE(2024,6,12))) -> Option AQuick Check:
WORKDAY then WEEKDAY for weekday number [OK]
- Passing holiday as text instead of DATE function
- Using WEEKDAY inside WORKDAY incorrectly
- Ignoring holidays in WORKDAY
Ready to prove it?
Pass the test and this pattern moves unknown
