# calculating progressive months

#### latete

##### New Member
I'm a newbee to this board. I'm entering enter a date (October 1, 2002) in say A1. then, starting in A2 through A362, I want to have each row display the next month. Currently, I am using a formula to add 31 to previous field (formular for A3= "=a2+31", A4= "A3+31" and so on. That doesn't work each time because some months have 30,31,28 days. By the time I get to the the fifth year, It starts to skip a month approximately every five years. How can I do this accurately? Thanks,

Latete

### Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
On 2002-10-18 16:40, Corticus wrote:
Hi,

1 way, using EDate()

[..]

EDate requires the analysis toolpak

-or-

=DATE(YEAR(A1),MONTH(A1)+1,1)

without the toolpack.

HTH,
Corticus

The equivalent of

=EDATE(A1,1)

would be

=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1))
This message was edited by Aladin Akyurek on 2002-10-18 16:47

Tru,

My formula will go to the first day of the next month.

10/05/02 would go to
11/01/02

just because it is a slow friday, techincally I think
=MIN(DATE(YEAR(A3),MONTH(A3)+1,DAY(A3)),DATE(YEAR(A3),MONTH(A3)+2,0))

would be the exact the equivilant of
=EDATE(A3,1)

Thanks all. I was able to use the EDATE function. It worked like a charm. Thanks,again.

Latete

You might also like to consider doing it without a formula.

Select your range of cells, go to Edit>Fill>Series and select Type(Date), DateUnit(Month), StepValue(1).

Replies
2
Views
312
Replies
6
Views
202
Replies
0
Views
211
Replies
1
Views
446
Replies
6
Views
284

1,206,815
Messages
6,075,014
Members
446,114
Latest member

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back