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

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
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,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

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