Date Formula that will return a result for a specific period?

mattbird

Active Member
Joined
Oct 15, 2013
Messages
305
Office Version
  1. 2016
Hi,

I trying to create a formula from a date to return a training year result ie:

The training year runs from 1 Apr - 31 Mar.

If I add a date between 1 Apr 2023 - 31 Mar 2024 in Cell H2 (date attended), for example 01/07/2023, I want it to return 2023-24 in Cell I2 (training year).

If I add a date between 1 Apr 2024 - 31 Mar 2025, for example 08/12/2024, I want it to return 2024-25 and so on.


How do I do this?

All help is greatly appreciated
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
try this:
Excel Formula:
=IF(MONTH(H2)<4,YEAR(H2)-1&"-"& RIGHT(YEAR(H2),2), YEAR(H2) & "-" &  RIGHT(YEAR(H2)+1,2))

HTH
 
Upvote 0
Solution
How about
Excel Formula:
=IF(MONTH(H2)<4,YEAR(H2)-1&"-"&RIGHT(YEAR(H2),2),YEAR(H2)&"-"&RIGHT(YEAR(H2)+1,2))
 
Upvote 0

Forum statistics

Threads
1,215,444
Messages
6,124,891
Members
449,194
Latest member
JayEggleton

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