ElyxAI
formulas

How to How to Use SEQUENCE to Generate Date Ranges in Excel

Excel 365Excel 2021Excel 2024

Learn to use the SEQUENCE function to automatically generate date ranges in Excel without manual entry. This powerful dynamic array function creates lists of consecutive dates based on your parameters, saving time on scheduling, project timelines, and calendar creation. Perfect for automating date lists for reports, analyses, and data organization.

Why This Matters

Automating date generation eliminates manual entry errors and dramatically speeds up timeline creation for projects, schedules, and financial reporting.

Prerequisites

  • Basic understanding of Excel cell references and formulas
  • Excel 365 or Excel 2021+ (SEQUENCE is a dynamic array function)
  • Familiarity with date functions like TODAY() and DATE()

Step-by-Step Instructions

1

Enter the SEQUENCE formula for date generation

In a blank cell, type: =SEQUENCE(rows, columns, start_date, increment). Example: =SEQUENCE(10, 1, DATE(2024,1,1), 1) generates 10 dates starting Jan 1, 2024, incrementing by 1 day.

2

Define the number of rows

Replace 'rows' with the quantity of dates needed. For a 30-day calendar: =SEQUENCE(30, 1, DATE(2024,1,1), 1) creates 30 consecutive dates.

3

Set the start date parameter

Replace 'start_date' with DATE(year, month, day) or TODAY() for current date. Example: =SEQUENCE(10, 1, TODAY(), 1) starts from today's date.

4

Configure the increment value

Set the last parameter to define step intervals: use 1 for daily, 7 for weekly, 30 for monthly increments. Example: =SEQUENCE(12, 1, DATE(2024,1,1), 30) generates monthly dates.

5

Press Enter and format as needed

Press Ctrl+Shift+Enter (or just Enter in Excel 365) to execute. Select the resulting range and format dates via Home > Number > Short Date or Long Date format.

Alternative Methods

Using SEQUENCE with DATEVALUE for text dates

Combine SEQUENCE with DATEVALUE to convert text dates to actual date values before incrementing. Use: =SEQUENCE(10, 1, DATEVALUE("1/1/2024"), 1).

SEQUENCE with TODAY() for dynamic ranges

Replace static dates with TODAY() to create self-updating ranges that reset daily. Example: =SEQUENCE(7, 1, TODAY(), 1) always shows next 7 days.

Fill series as traditional alternative

Use Sheet > Fill > Series (legacy method): Enter start date, select range, then Sheet menu > Fill > Series > Date > Day interval for manual date generation.

Tips & Tricks

  • Use TODAY() as the start date to create self-updating calendar lists that always reflect current dates.
  • Combine SEQUENCE with conditional formatting to highlight weekends or holidays automatically.
  • For financial reports, use 30-day increment to generate month-end dates: =SEQUENCE(12, 1, DATE(2024,1,31), 30).

Pro Tips

  • Nest SEQUENCE inside WEEKDAY() to filter only weekdays: =FILTER(SEQUENCE(30,1,TODAY(),1), WEEKDAY(SEQUENCE(30,1,TODAY(),1))<>1).
  • Use SEQUENCE with TEXT() function to auto-format dates: =TEXT(SEQUENCE(10,1,TODAY(),1), "dddd, mmmm d, yyyy") displays full date names.
  • Create project timelines by combining SEQUENCE with WORKDAYS.INTL for business days only, excluding holidays.

Troubleshooting

SEQUENCE returns #NAME? error

Your Excel version doesn't support SEQUENCE (requires Excel 365 or 2021+). Upgrade or use legacy Fill > Series method instead.

Dates display as serial numbers (44927 instead of 1/1/2024)

Select the result range and format as dates: Right-click > Format Cells > Number tab > Date category > choose format > OK.

Formula generates only one date instead of range

Ensure you entered the formula correctly with all parameters, and in Excel 365, dynamic arrays auto-spill; if not, check for conflicting data below.

SEQUENCE date range skips dates or has gaps

Verify increment value matches desired interval (1=daily, 7=weekly) and check start date calculation is correct.

Related Excel Formulas

Frequently Asked Questions

Can SEQUENCE generate dates backward (from new to old)?
No, SEQUENCE only increments forward with positive values. To reverse, wrap the result with SORT function: =SORT(SEQUENCE(10,1,TODAY(),1),,FALSE).
What increment value should I use for quarterly dates?
Use 91 for approximate quarterly spacing, or use EOMONTH() function for precise quarter-end dates: =SEQUENCE(4,1,EOMONTH(TODAY(),0),91).
Can I use SEQUENCE with IF conditions to exclude certain dates?
Yes, combine SEQUENCE with FILTER function: =FILTER(SEQUENCE(30,1,TODAY(),1), WEEKDAY(SEQUENCE(30,1,TODAY(),1))<6) generates weekdays only.
Does SEQUENCE work on Excel for Mac?
Yes, SEQUENCE is available on Excel 365 for Mac and Excel 2021+ (Mac). Ensure your version is updated to access dynamic array functions.

This was one task. ElyxAI handles hundreds.

Sign up