Autofill Dates in Google Sheets Without Weekends
In this article
To autofill dates in Google Sheets without including weekends, use the WORKDAY function, which automatically skips Saturdays and Sundays when generating sequential workdays. This built-in formula is the most reliable and widely used method to populate a range of dates excluding weekends, and it requires no add-ons or AI tools.
Background: Why Skip Weekends in Date Sequences?
Many workflows—such as project timelines, employee schedules, delivery calendars, or billing cycles—operate only on business days. Including weekends in date sequences can misrepresent deadlines, inflate time estimates, or cause confusion in tracking progress. For example, a 10-day task scheduled from Monday to Friday over two weeks should not count Saturday and Sunday as workdays. Therefore, generating a list of dates that skips weekends ensures accuracy in planning and reporting.
Google Sheets does not natively offer an AI-powered autofill feature for date ranges that excludes weekends. Instead, it relies on built-in functions like WORKDAY and SEQUENCE, which are deterministic and rule-based. While some third-party add-ons claim to use AI, the core functionality for skipping weekends is best achieved through standard spreadsheet formulas.
How the WORKDAY Function Works
The WORKDAY function in Google Sheets returns a date that is a specified number of workdays before or after a start date, automatically excluding weekends (Saturday and Sunday). It can also exclude custom holidays if needed.
Syntax:
WORKDAY(start_date, num_days, [holidays])
- start_date: The initial date from which to begin counting.
- num_days: The number of workdays to add (positive) or subtract (negative).
- holidays (optional): A range or list of dates to exclude in addition to weekends.
For example, to generate a sequence of 5 consecutive workdays starting from January 8, 2024 (a Monday):
- Enter
1/8/2024in cell A1. - In cell A2, enter
=WORKDAY(A1, 1). - Drag the formula down from A2 to A5.
This will return January 9, 10, 11, and 12—skipping the weekend of January 13–14.
Using SEQUENCE with WORKDAY for Bulk Date Generation
If you need to generate a long list of workdays without dragging formulas, combine WORKDAY with the SEQUENCE function. This method creates an array of workdays in a single formula.
Syntax:
=ARRAYFORMULA(WORKDAY(start_date, SEQUENCE(num_days) - 1))
- start_date: Your initial date.
- num_days: Total number of workdays to generate.
Example: To generate 10 workdays starting from February 1, 2024:
- Select cell A1.
- Enter:
=ARRAYFORMULA(WORKDAY(DATE(2024,2,1), SEQUENCE(10) - 1)). - Press Enter.
This will fill cells A1 through A10 with consecutive weekdays, automatically skipping weekends. The SEQUENCE(10) - 1 generates the numbers 0 through 9, so the first date is the start date itself, and each subsequent one adds a workday.
Custom Work Schedules and WEEKDAY Filtering
The standard WORKDAY function assumes a Monday–Friday workweek. However, if your organization operates on a different schedule (e.g., Sunday–Thursday), you’ll need a custom solution using the WEEKDAY and FILTER functions.
For example, to generate dates excluding only Saturdays (but including Sundays), use:
=FILTER(SEQUENCE(14,1,DATE(2024,3,1)), WEEKDAY(SEQUENCE(14,1,DATE(2024,3,1)))<>7)
This creates a 14-day sequence starting March 1, 2024, and filters out any date falling on a Saturday (WEEKDAY value 7). Adjust the WEEKDAY condition to match your off-days. This method is more flexible but requires understanding of array logic and weekday numbering (1=Sunday, 7=Saturday by default).
Common Problems and How to Fix Them
Users often encounter issues when autofilling dates without weekends. Here are frequent problems and their solutions:
- Dates appear as numbers: Google Sheets stores dates as serial numbers. Select the cells, go to Format > Number > Date to display them correctly.
- Formula returns an error: Check that the start date is a valid date. Use
DATE(year, month, day)to avoid text-parsing issues. - Weekends are not skipped: Ensure you’re using WORKDAY, not simple addition (e.g.,
A1+1). The latter includes all calendar days. - Holidays not excluded: If using the holidays parameter, confirm the holiday range contains valid dates and is referenced correctly (e.g.,
$B$1:$B$5). - Incorrect workweek assumption: WORKDAY always skips Saturday and Sunday. For non-standard weekends, use custom filtering as shown above.
Alternatives to WORKDAY for Date Autofill
While WORKDAY is the most direct method, other approaches exist:
- Manual drag with Ctrl (Cmd on Mac): Select two or more workdays, then drag the fill handle while holding Ctrl. Sheets may detect the pattern and skip weekends, but this is unreliable and inconsistent.
- Google Apps Script: Advanced users can write custom scripts to generate date sequences. This allows full control over logic, including custom weekends and holidays, but requires scripting knowledge.
- Third-party add-ons: Some add-ons in the Google Workspace Marketplace offer enhanced date tools. However, they are not necessary for basic weekend exclusion and may introduce privacy or compatibility concerns.
For most users, WORKDAY or WORKDAY with SEQUENCE is sufficient, accurate, and requires no external tools.
Frequently Asked Questions
Can Google Sheets autofill dates without weekends using AI?
No, Google Sheets does not use AI to autofill dates. The WORKDAY function and related formulas are rule-based and deterministic. Any autofill behavior that skips weekends relies on these built-in functions, not artificial intelligence.
How do I skip both weekends and holidays?
Use the optional holidays parameter in the WORKDAY function. List your holidays in a range (e.g., B1:B5), then reference it: =WORKDAY(A1, 1, B$1:B$5). This will skip both weekends and the specified holiday dates.
Can I change which days are considered weekends?
The standard WORKDAY function only skips Saturday and Sunday. To exclude different days (e.g., Friday and Saturday), use a custom formula with SEQUENCE and FILTER, checking the WEEKDAY value and excluding the desired days manually.
Why does my WORKDAY formula skip two days at once?
This is expected behavior. When you add one workday to a Friday, the result is the following Monday, skipping the weekend. The function counts only business days, so the gap appears larger in calendar terms.
Is there a way to autofill without typing a formula?
Not reliably. While dragging with pattern detection sometimes works, it often includes weekends. For consistent results, always use the WORKDAY function or a similar formula-based method.
Can I generate a reverse date list (counting backward) without weekends?
Yes. Use a negative number for num_days in WORKDAY. For example, =WORKDAY(A1, -1) gives the prior workday, automatically skipping weekends when moving backward.