Need DATE formula

Ron99

Active Member
Joined
Feb 10, 2010
Messages
349
Office Version
  1. 2016
Platform
  1. Windows
=04-FEB-2025 ( today's date )
=31-MAR-2025 ( cut off date )

The cutoff date to do the next replenishment is 31-MAR-2025, If today's date go past 31-MAR-2025 the next cutoff date is 30-SEP-2025.
I have figured out the above formula, however replenishment needs to be done every year but at the same month and date. I would like a formula which only considers day & month ignoring the year.

Regards,
Ron
 
I am sure someone will come up with a shorter version but in the meantime see if this works for you.

20250204 Date 6 Monthly Cut Off Ron99.xlsx
AB
1Test DateCut Off
204/02/202531/03/2025
312/10/202431/03/2025
421/09/202430/09/2024
510/09/202330/09/2023
605/12/202231/03/2023
Sheet1
Cell Formulas
RangeFormula
B2:B6B2=IF(AND(MONTH($A2)<=9,MONTH($A2)>3), DATE(YEAR($A2),10,0), DATE(YEAR($A2)+IF(MONTH($A2)>8,1,0),4,0))
 
Upvote 0
Solution
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,926
Members
453,767
Latest member
922aloose

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