Dynamic Array - Sequence Function - End of Month

mvbernot

New Member
Joined
Nov 25, 2006
Messages
13
Hi All,

I'm trying to design a budget workbook that would be able to take a budget start date and a budget end date and generate the End of Month dates for that period of time. I was trying to use the sequence command but cannot figure out how to input the increment criteria to generate this list of month end dates. The periods of time could range from 6, 12, 18 or 24 months. I saw that Mr Excel had a video on adding the + sign to the EOMonth function for a range that spilled (# reference) which was extremely helpful. Is this dynamic forumula possible? Thank you for any help you can provide.

Michael
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Glad to help & thanks for the feedback.
 
Upvote 0
@Eric W
Just needs a very slight tweak to get the last month
=EOMONTH(EDATE(H2,SEQUENCE(DATEDIF(H2,H3,"m")+1)-1),0)
But otherwise works fine & much simpler then my attempts
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,655
Messages
6,126,051
Members
449,283
Latest member
GeisonGDC

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