logo
search
Function Problems

How to Automatically Fill Consecutive Sunday Dates Across Excel Columns

Maira MehtabMaira Mehtab Sep 28, 2026 870 views

Question details

The user needs to automatically generate a sequence of consecutive Sunday dates across multiple columns in Excel.

Product
Excel
Device & OS
Windows 11
Scenario
Creating a weekly schedule, calendar, or tracker that stretches across multiple horizontal columns.
Observed behavior
Requires a dynamic formula or feature to populate dates incrementing exactly by 7 days (Sundays) across columns without manual entry.
Before you start

Ensure you have enough empty columns to the right of your starting cell so the formula can spill the results without encountering a #SPILL! error.

Solution 1Recommended

Use the SEQUENCE Function to Fill Weekly Dates

The SEQUENCE function is the most efficient and dynamic way to generate an array of weekly dates across columns.

By utilizing Excel's SEQUENCE function combined with the DATE function, you can output a defined number of weeks spaced exactly 7 days apart. This method requires Excel 365, Excel 2021, or newer.

1
Select the starting cell

Click on cell B1 (or your preferred starting cell) where you want the first Sunday date to appear.

2
Enter the SEQUENCE formula

Type the formula =SEQUENCE(,52,DATE(2025,1,5),7) and press Enter. Adjust the '52' to the number of columns you want to fill, and change 'DATE(2025,1,5)' to your specific starting Sunday.

3
Format the cells as dates

Highlight the generated range (e.g., B1:BA1). Right-click, select 'Format Cells', navigate to the 'Number' tab, choose 'Date', and pick your desired date format.

Dynamic Updates: If you change the start date within the formula, all 52 subsequent columns will automatically update to reflect the new sequence.
Seamless Spreadsheet Editing

Effortlessly Manage Dates and Schedules in WPS Spreadsheet

WPS Spreadsheet provides robust dynamic array functions like SEQUENCE, allowing you to quickly generate weekly dates and build comprehensive schedules without hassle.

  1. 1. Open a new spreadsheet: Launch WPS Office and create a new blank spreadsheet.
  2. 2. Input the sequence formula: Click your target cell and type =SEQUENCE(, 52, DATE(2025,1,5), 7).
  3. 3. Apply date formatting: Highlight the generated cells, press Ctrl + 1 to open the Format Cells dialog, and select your preferred Date display format.
Fully compatible with Microsoft Excel formulas and date formats.Supports dynamic array functions like SEQUENCE for instant date generation.Free and lightweight alternative for all your daily spreadsheet tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why am I getting a #SPILL! error when using the SEQUENCE function?

This error occurs when the adjacent cells where the formula needs to place the dates are not completely empty. Clear any data or spaces in the columns to the right to make room for the array.

How can I change the formula to generate dates down a column instead of across rows?

To spill dates vertically down a single column instead of horizontally across columns, move the number of weeks to the rows argument. Use =SEQUENCE(52,,DATE(2025,1,5),7).

Does the SEQUENCE formula work in older versions of Excel?

No, the SEQUENCE function is a dynamic array function available only in Microsoft 365, Excel 2021, and newer versions. For older versions, use the AutoFill drag handle or a basic formula like =B1+7.