Month-end dates

klynshoe

Board Regular
Joined
Jun 17, 2010
Messages
176
USING EXCEL 2010

Hello, I'm looking to fill in all the calendar month-end dates for several years. What's the best way to go about doing this (macro-free if possible).

Thanks!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
In any designated cell (A1 for example) put
=YEAR(TODAY())
Then whereever you want to your list of MonthEnd Dates, put
=DATE($A$1,ROWS(A$1:A2),0)
And fill down as far as desired.

Copy / paste special / values on A1 If you want the Year in A1 to be permanent.
 
Upvote 0
USING EXCEL 2010

Hello, I'm looking to fill in all the calendar month-end dates for several years. What's the best way to go about doing this (macro-free if possible).

Thanks!
Here's another one...

Manually enter 2 or 3 of the dates:

A1 = 1/31/2012
A2 = 2/29/2012
A3 = 3/31/2012

Now, select the range A1:A3 and drag copy down as needed.
 
Upvote 0
Here's another one...

Manually enter 2 or 3 of the dates:

A1 = 1/31/2012
A2 = 2/29/2012
A3 = 3/31/2012

Now, select the range A1:A3 and drag copy down as needed.

Cool...That even handles leap year..
 
Last edited:
Upvote 0
There is a slightly shorter method but it can only be used when/if the Analysis Toolpak is installed. That is, Tools>Add-ins and check Analysis Toolpak. Then you you can use the EOMONTH function as shown below

=EOMONTH(A1,0)

Or,

=EOMONTH("8-10-2012",0)
 
Upvote 0

Forum statistics

Threads
1,216,045
Messages
6,128,480
Members
449,455
Latest member
jesski

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top