Autofill Dates in Google Sheets Without Weekends
In this article
To autofill dates in Google Sheets without weekends, use the WORKDAY function to generate a sequence of dates that skips Saturdays and Sundays. This function automatically adds only business days, making it ideal for creating schedules, project timelines, or pay periods that exclude weekends.
Background: Why Skip Weekends in Date Sequences?
- Many business and project schedules operate only on weekdays.
- Payroll, delivery timelines, and task deadlines often exclude weekends.
- Manually entering dates is time-consuming and error-prone, especially over long periods.
- Google Sheets lacks a built-in weekend filter in its standard autofill feature, so formulas are needed.
Google Sheets’ default autofill (clicking and dragging the fill handle) includes all calendar days, including weekends. While useful for some purposes, this behavior is problematic when modeling work-related timelines. For example, a 10-day project starting Monday, January 1 should end on Wednesday, January 14 — not Friday, January 10 — if weekends are excluded. The WORKDAY function solves this by calculating actual working days.
How the WORKDAY Function Works
The WORKDAY function returns a date that is a specified number of working days before or after a start date. It automatically excludes weekends (Saturday and Sunday) and can optionally exclude custom holidays.
Syntax:
WORKDAY(start_date, days, [holidays])
- start_date: The initial date (can be a date value, cell reference, or DATE function).
- days: The number of working days to add (positive) or subtract (negative).
- holidays (optional): A range or list of dates to exclude in addition to weekends.
Example: If cell A1 contains 1/1/2024 (a Monday), then:
=WORKDAY(A1, 1)returns1/2/2024(Tuesday)=WORKDAY(A1, 5)returns1/8/2024(Monday), skipping the weekend of Jan 6–7.
Step-by-Step: Autofill Dates Without Weekends
- Enter your start date in a cell (e.g., A1).
- In the next cell (e.g., A2), enter the formula:
=WORKDAY(A1, 1). - Drag the fill handle (small blue square at the bottom-right of the cell) down to copy the formula.
- Each cell will increment by one business day, skipping weekends automatically.
- To include holidays, create a list of holiday dates (e.g., in column D) and modify the formula to:
=WORKDAY(A1, 1, D:D). - Format cells as dates if they appear as numbers (Format > Number > Date).
Example: Start date in A1 is 2024-03-01 (Friday). A2 with =WORKDAY(A1,1) returns 2024-03-04 (Monday), skipping Saturday and Sunday.
Using WORKDAY with a Series of Consecutive Business Days
If you want a list of dates representing the next 20 business days starting from a date, you can use a relative row number to control the increment.
Method:
- Enter the start date in cell A1.
- In cell A2, use:
=WORKDAY($A$1, ROW(A1)). - Drag down from A2. ROW(A1) returns 1, ROW(A2) returns 2, etc., so each row adds one more business day.
- The $A$1 reference locks the start date, while ROW(A1) increments as you drag.
This method avoids chaining (where each date depends on the previous), reducing error propagation. It’s especially useful for long sequences.
Common Problems and Solutions
- Dates appear as numbers: Format cells as dates. Right-click > Format cells > Date, or use the toolbar.
- Formula returns an error: Check that the start date is a valid date. Use
ISDATE(A1)to verify. - Weekends are not skipped: Ensure you’re using WORKDAY, not a manual +1 formula. Standard addition includes all days.
- Holidays not excluded: Verify holiday dates are in date format and the range in the formula is correct (e.g., D2:D10).
- Dragging breaks references: Use absolute references (
$A$1) for fixed values like the start date or holiday list.
One common mistake is using =A1+1 and dragging down — this includes weekends. Always use WORKDAY for business day sequences.
Alternatives and Comparisons
While WORKDAY is the most direct method, other functions can achieve similar results in specific cases.
- WORKDAY.INTL: More flexible than WORKDAY. Allows custom weekend definitions (e.g., Friday-Saturday weekend). Syntax:
=WORKDAY.INTL(start_date, days, [weekend], [holidays]). Weekend parameter can be a number (e.g., 1 = Saturday/Sunday, 2 = Sunday/Monday) or a string like "0000011" (Monday–Friday workweek). - SEQUENCE + WORKDAY: In newer Sheets, use
=WORKDAY(A1, SEQUENCE(10))to generate 10 consecutive business days in one array formula. - Manual filtering: Enter all dates and filter out weekends using WEEKDAY function, but this is less efficient and not dynamic.
WORKDAY.INTL is superior when working with non-standard weekends (e.g., Middle Eastern countries where Friday and Saturday are off). For most users in Monday–Friday regions, WORKDAY is sufficient.
Frequently Asked Questions
Can I autofill dates without weekends using drag-and-drop?
No, standard drag autofill includes all days. To skip weekends, you must use the WORKDAY or WORKDAY.INTL function in a formula before dragging.
How do I exclude holidays as well as weekends?
List your holidays in a column (e.g., D2:D10), then reference that range in the WORKDAY function: =WORKDAY(A1, 1, D2:D10). The function will skip both weekends and the listed holidays.
Can I use a different weekend (like Friday and Saturday)?
Yes. Use WORKDAY.INTL instead of WORKDAY. For a Friday–Saturday weekend, use =WORKDAY.INTL(A1, 1, 7) or the string "1111100" to define Sunday–Thursday as workdays.
Why does my WORKDAY formula return a #VALUE! error?
This usually means the start date or holiday is not recognized as a valid date. Ensure dates are entered correctly (use DATE function or proper date format) and that holiday ranges contain only dates.
Can I generate a reverse sequence (dates going backward without weekends)?
Yes. Use a negative number for the days parameter: =WORKDAY(A1, -1) returns the previous business day. Dragging this formula upward creates a backward sequence excluding weekends.
Is there a way to autofill without using formulas?
No. Google Sheets does not have a built-in option to exclude weekends during drag autofill. Formulas like WORKDAY are required for accurate, automated exclusion of non-working days.