calculating end date based on one formula and several attributes

suciulaurentiu

New Member
Joined
Oct 20, 2014
Messages
37
Office Version
  1. 365
Platform
  1. Windows
Hello, I really really need some help for this situation. I can not seem to find the way out here.

I have these start dates and and end dates . how can i use a formula like this, throughout all year long ?
Formula for now is : =EDATE((DATE(YEAR($A$37);MONTH($A$37)+(I42);DAY($A$37)));1)-1 , where $A$37 is 29.01.2023 and I42 is a number of months like 36.
If I use these, than the calcul is incorrent in several situations like 37, 38 months.

My problem is that these formulas are calculating by the number of months and days in the month, but not days days disregarding the calendar...

3731.03.2026
3828.04.2026

I need to have these results:

Start date 29.JanEnd date 28.Feb
Start date
30.Jan
End date
27.Feb
Start date
31.Jan
End date
27.Feb
Start date
01.Feb
End date
28.Feb
Start date
02.Feb
End date
01.Mar
Start date
03.Feb
End date
02.Mar


29.01.20231228.02.20242028.10.20243128.09.20254128.07.2026
1328.03.20242128.11.20243228.10.20254228.08.2026
1428.04.20242228.12.20243328.11.20254328.09.2026
1528.05.20242328.01.20253428.12.20254428.10.2026
1628.06.20242427.02.20253528.01.20264528.11.2026
1728.07.20242531.03.20253627.02.20264628.12.2026
1828.08.20242628.04.20253731.03.20264728.01.2027
1928.09.20242728.05.20253828.04.20264827.02.2027
AN BISECT2828.06.20253928.05.20264931.03.2027
2928.07.20254028.06.20265028.04.2027
3028.08.2025
5128.05.20276128.03.2028
5228.06.20276228.04.2028
5328.07.20276328.05.2028
5428.08.20276428.06.2028
5528.09.20276528.07.2028
5628.10.20276628.08.2028
5728.11.20276728.09.2028
5828.12.20276828.10.2028
5928.01.20286928.11.2028
6028.02.20287028.12.2028
AN BISECT
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
What are the dates you want to see? Do you want to see the same day in each month for 40 months?
 
Upvote 0
Hi!
From what i`ve noticed i`m looking to see only when there is 30th and 31st of each end of the month , results should be end of the monday minus one day, every time. No matter what inverval i put it from 12 up to 84 months.
 
Upvote 0
Except for February you want last day minus 1 day, for february you want last day?
What version of Excel do you use?
 
Upvote 0
just the latest office excel 365

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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