Return Year End Date it falls in

tlc53

Active Member
Joined
Jul 26, 2018
Messages
399
Hi there,

I would like to calculate a year end date, based on a changeable date.

For example, say the year end date is 30 June.

eg. From start date 01/12/2017
I would like it to return the year end date it falls in, so 30/06/2018.

eg. From start date 01/05/2017
Returns 30/06/2017

Cell F13 has the start date
Cell E7 has the current financial year end, so I would like it to get the dd/mm from here.

I've looked around for a solution but I've had no luck.

Has anyone got any suggestions please? Thank you
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Thanks but the 30 June may change, to say 31 March.
Both the year end date and the start date can change.
Cell E7 is the Year End Date
 
Upvote 0
Maybe?

PHP:
=DATE(YEAR(F13)+(TEXT(E7,"mmdd")<TEXT(F13,"mmdd")),MONTH(E7),DAY(E7))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,887
Messages
6,175,199
Members
452,617
Latest member
Narendra Babu D

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