Automatically Generate Monthly Dates in Excel with EDATE
Question details
Create a monthly date sequence in separate cells that updates when the starting date changes.

- 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.
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.
Create a Dynamic Monthly Sequence with EDATE
Use an anchored starting date and a fillable formula to generate months that update automatically.
In cell G2, enter 1/1/2021 or another valid starting date.
Select G3 and enter =EDATE($G$2,ROWS($G$3:G3)). This returns the date one month after G2.
Drag the fill handle from G3 down through the cells where you want additional months. The month offset increases in each row.
Select the date cells, open Format Cells, and choose Custom. Enter yyyy/mm to display the year and month.
Change the date in G2 to update all the formulas that reference it.

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. Enter a starting date: Open a worksheet in WPS Spreadsheet and enter a valid date, such as 1/1/2021, in G2.
- 2. Add the formula: Select G3 and enter =EDATE($G$2,ROWS($G$3:G3)).
- 3. Fill the sequence: Drag the fill handle from G3 down to generate the remaining monthly dates.
- 4. Set the display format: Select the date cells, open Format Cells, and use the custom format yyyy/mm.

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.




