FormulaCraft

How to generate a series of dates in Excel and Google Sheets

Topic:Data cleaning & shaping
Excel & Google Sheets
=A2+SEQUENCE(B2,1,0,C2)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Put your start date in A2 (enter it as a real date, e.g. 1/1/2025), the count of dates in B2 (e.g. 8), and the step in days in C2 (1 for daily, 7 for weekly).
  2. 2In D2 enter =A2+SEQUENCE(B2,1,0,C2). SEQUENCE generates B2 numbers starting at 0 and incrementing by C2; adding A2 shifts each to the correct date.
  3. 3Format D2# (Excel spill reference) or the Sheets output as dates: Ctrl+1 in Excel, Format > Number > Date in Sheets.
  4. 4For a monthly series that preserves the day of the month, use =EDATE(A2,SEQUENCE(B2,1,0,1)) instead of adding 30 or 31 — EDATE handles month-end arithmetic correctly.
  5. 5For a business-day-only series, generate a larger range and filter: =FILTER(A2+SEQUENCE(30,1,0,1),WEEKDAY(A2+SEQUENCE(30,1,0,1),2)<=5).

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

How do I generate a series ending on a specific date rather than for a fixed count?

Calculate the count first: =DAYS(end_date,start_date)/step+1, place that in B2, and the SEQUENCE formula will produce the correct number of dates.

SEQUENCE is not available in my version of Excel — what should I use?

In Excel 2016 and earlier, pre-select the output cells, type =A2+ROW(INDIRECT("1:"&B2))-1, and confirm with Ctrl+Shift+Enter.

More on Data cleaning & shaping

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: