How many months a contract is valid for within a fiscal year?

Scotty2a

New Member
Joined
Feb 5, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have the following details relating to the start and end dates of a contract. My fiscal year runs 01/04 to 31/03 so FY24 will run from 01/04/23 to 31/03/24. What I need to know is how many months a contract has in each fiscal year?

1707145868131.png




I've tried the following formula in my file which isn't working? =IFERROR(DATEDIF(MAX($L36,EDATE($M36,-12)),MIN($M36,Y$13),"m"),0)

What am I missing?

1707146109893.png
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Depends when it starts/finishes.

If a contract starts 1/01/24 and runs until 31/12/24 then that should show as 3 months in FY24 and 9 months in FY25.

Make sense?
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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