Function Problems

Automatically Generate Monthly Dates in Excel with EDATE

Algirdas JasaitisAlgirdas Jasaitis Nov 18, 2026 870 views

Question details

Create a monthly date sequence in separate cells that updates when the starting date changes.

Automatically Generate a Monthly Date Series in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Use a starting month and the EDATE function to populate subsequent months in a worksheet.
Observed behavior
Each cell displays a date one month later than the previous position, based on the starting date.
Before you start

Choose a starting cell and enter a real date, such as January 1, 2021, rather than text. The steps below use G2 as the starting cell and fill the subsequent months down column G.

Solution 1Recommended

Create a Dynamic Monthly Sequence with EDATE

Use an anchored starting date and a fillable formula to generate months that update automatically.

1
Enter the starting date

In cell G2, enter 1/1/2021 or another valid starting date.

2
Enter the formula

Select G3 and enter =EDATE($G$2,ROWS($G$3:G3)). This returns the date one month after G2.

3
Fill down

Drag the fill handle from G3 down through the cells where you want additional months. The month offset increases in each row.

4
Format the dates

Select the date cells, open Format Cells, and choose Custom. Enter yyyy/mm to display the year and month.

5
Update the sequence

Change the date in G2 to update all the formulas that reference it.

Create a Dynamic Monthly Sequence with EDATE
Month-end dates: EDATE uses the last available day when the target month has fewer days. Each formula references G2, so later months remain based on the original starting date.
Create monthly dates in WPS

Generate a Monthly Date Series in WPS Spreadsheet

Use EDATE in WPS Spreadsheet to build a monthly sequence from a starting date and update it by changing that date.

  1. 1. Enter a starting date: Open a worksheet in WPS Spreadsheet and enter a valid date, such as 1/1/2021, in G2.
  2. 2. Add the formula: Select G3 and enter =EDATE($G$2,ROWS($G$3:G3)).
  3. 3. Fill the sequence: Drag the fill handle from G3 down to generate the remaining monthly dates.
  4. 4. Set the display format: Select the date cells, open Format Cells, and use the custom format yyyy/mm.
Generate monthly dates from one starting cellUpdate the sequence automatically when the starting date changesOpen and edit Microsoft Excel XLS and XLSX filesUse a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

How do I make the dates update when the starting month changes?

Reference the starting cell in each formula. For example, enter =EDATE($G$2,ROWS($G$3:G3)) in G3 and fill down; changing G2 updates the sequence.

How can I show only the year and month?

Select the date cells, open Format Cells, choose Custom, and enter yyyy/mm. The underlying values remain full dates.

What happens if the starting date is at the end of a month?

EDATE returns the last available day if the target month is shorter. For example, one month after January 31 is the last day of February.

Can I calculate a date several months after the start?

Yes. Enter =EDATE($G$2,3) in a destination cell to return the date three months after the date in G2.