Maximum End of Month Date Array Formula

ricafonyat

New Member
Joined
May 1, 2017
Messages
29
Office Version
  1. 365
Platform
  1. Windows
What array formula (CTRL SHIFT ENTER) should I use to calculate the largest projected date in cell E2 considering the number of months shown in column B and just referencing columns A and B in the formula?

1719240600573.png


Thanks in advance
Best Regards
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Since you have 365, you shouldn't need CTRL SHFT ENTER. Try
Excel Formula:
=MAX(A2:A4+B2:B4)
 
Upvote 0
I realized I added days instead of months. Not used to the date format. Try
Excel Formula:
=MAX(EDATE(+A2:A4,+B2:B4))
 
Upvote 0
What array formula (CTRL SHIFT ENTER) should I use to calculate the largest projected date in cell E2 considering the number of months shown in column B and just referencing columns A and B in the formula?

View attachment 113137

Thanks in advance
Best Regards

Sorry Guys, I did a mistake:
I did the wrong question !
In fact, I am looking for a month sequence - with the end of month date - from a base date (Jun-30-2024) until the Max Date Projected.
Could you help me please?

1719246952074.png
 
Upvote 0
In fact, I am looking for a month sequence - with the end of month date - from a base date (Jun-30-2024) until the Max Date Projected.
How are you going to use that? As a label? In column headers? In a formula?
 
Upvote 0
Try.
Book1
ABCDEFGHIJKLMNOPQR
1Date# Months
21/15/202412Base Date6/1/2024
312/15/20245
41/10/20256Sequence6/30/20247/31/20248/31/20249/30/202410/31/202411/30/202412/31/20241/31/20252/28/20253/31/20254/30/20255/31/20256/30/20257/31/2025
5
Sheet3
Cell Formulas
RangeFormula
E4:R4E4=EOMONTH(E2,SEQUENCE(1,DATEDIF(E2,MAX(EDATE(+A2:A4,+B2:B4)),"m")+1,0))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,320
Members
452,635
Latest member
laura12345

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