Spreading Months between Financial Year

Mahenderlalwani

New Member
Joined
Apr 8, 2017
Messages
12
I Want to spread Agreement months between each Financial Year (31st March in India) , Sample Contract Given below - for example in the first cast Agreement Started in Nov 2016 , So for the financial year Mar 2016 to Mar 2017 we have 4 months and Same concept for all.

Someone please help me get this results via excel Formula

No. Of months Spread for each Financial Year End
Date AgreementAgreement End DateNo. Of Months31-03-201531-03-201631-03-201731-03-201831-03-201931-03-202031-03-202131-03-2022Total
05-11-201605-07-20182000412400020
05-01-201705-01-201924002121000024
09-12-201609-12-20182400312900024
30-11-201630-11-20182400412800024
21-10-201621-10-20182400512700024
26-10-201626-10-201936005121270036
06-08-201606-08-20182400712500024
15-11-201615-11-2020480041212128048
11-03-201711-03-201924000121200024
06-09-201606-03-201930006121200030

<colgroup><col span="2"><col><col span="8"><col></colgroup><tbody>
</tbody>
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi,

See if this helps:


Book1
ABCDEFGHIJKL
1Date AgreementAgreement End DateNo. Of Months31-3-201531-3-201631-3-201731-3-201831-3-201931-3-202031-3-202131-3-2022Total
25-11-20165-7-20182000412400020
35-1-20175-1-201924001121000024
49-12-20169-12-20182400312900024
530-11-201630-11-20182400412800024
621-10-201621-10-20182400512700024
726-10-201626-10-201936005121270036
86-8-20166-8-20182400712500024
915-11-201615-11-2020480041212128048
1011-3-201711-3-201924000121200024
116-9-20166-3-201930006121200030
Sheet1
Cell Formulas
RangeFormula
D2=INT(MOD(MAX(0,MIN(D$1,EOMONTH($B2,0)+1)-MAX(DATE(YEAR(D$1)-1,4,1),EOMONTH($A2,0))),366)/30)
 
Upvote 0
The Cell F3 shows 1 whereas it should be 2 .
Rest and all is fine.

Thank you so very much.

I was using =DATEDIF(A2,$F1,"M") in Cell F2 along with if formula -
=IFERROR(IF(DATEDIF(G6,$AL$5,"M")>AA6,(DATEDIF(G6,$AL$5,"M")-AA6),IF((DATEDIF(G6,$AL$5,"M"))>12,12,(DATEDIF(G6,$AL$5,"M")))),0) but some issue with that.
 
Upvote 0
Some issue with Jan month. Like in cell F3 it shows 1 where as it should be 2.
Rest all is perfect.
Thanks in advance.
Mahender Lalwani
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,982
Members
449,201
Latest member
Lunzwe73

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