Split one amount over 12 months based on date range

dogpile

New Member
Joined
Oct 24, 2005
Messages
21
The data I have is:
Column A: Start Date
Column B: End Date
Column C: Amount

I would like the annual amount shown monthly (amount split evenly over the range of start and end date) in column E:P by a formula. A formula that can be copied down mulitple rows.

i.e.: start date is April, end date is June, amount is $9,000.
Result would be Jan-Mar $0, Apr $3,000, May $3,000, June $3,000, July-Dec $0

Thanks in advance.
J
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
I assume this cannot go accross years, so something like this should work:

Not really sure how your sheet is set up and how the start and end dates are entered?
Excel Workbook
ABCDEFGHIJKLMNOP
1Start DateEnd DateAmountJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember
24/1/20106/30/20109000000300030003000000000
32/1/20108/1/201021000030003000300030003000300030000000
Sheet1
Cell Formulas
RangeFormula
E2=IF(AND((E$1&" 1, "&YEAR($A2))+0>=$A2,(E$1&" 1, "&YEAR($A2))+0<=$B2),$C2/(MONTH($B2)-MONTH($A2)+1),0)

Hope that helps.
 
Upvote 0
Can someone please help me? I want to divide the amount in the # of months specified like A2 = 3 so i need to divide it in 3 (jan, Feb, Mar) months equally. I know the formula E2/A2 but I want to make it automated depending upon the # of months the amount should be divided.:confused:

Sheet1[TABLE="class: html-maker-worksheet"]
<thead>[TR]
[TH][/TH]
[TH]A[/TH]
[TH]E[/TH]
[TH]F
[/TH]
[TH]G[/TH]
[TH]H
[/TH]
[TH]I[/TH]
[TH]J[/TH]
[TH]K[/TH]
[TH]L[/TH]
[TH]M[/TH]
[TH]N[/TH]
[TH]O[/TH]
[TH]P[/TH]
[/TR]
</thead><tbody>[TR]
[TH]1[/TH]
[TD]# of Months
[/TD]
[TD]Amount
[/TD]
[TD][/TD]
[TD][/TD]
[TD]January[/TD]
[TD]February[/TD]
[TD]March[/TD]
[TD]April[/TD]
[TD]May[/TD]
[TD]June[/TD]
[TD]July[/TD]
[TD]August[/TD]
[TD]September[/TD]
[TD]October[/TD]
[TD]November[/TD]
[TD]December[/TD]
[/TR]
[TR]
[TH]2
[/TH]
[TD] 3
[/TD]
[TD]7000[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TH]3[/TH]
[TD] 6
[/TD]
[TD]800
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Please help!!

Thanks in advance.

It certainly does, thank you for your time.
J
 
Upvote 0
Can someone please help me? I want to divide the amount in the # of months specified like A2 = 3 so i need to divide it in 3 (jan, Feb, Mar) months equally. I know the formula E2/A2 but I want to make it automated depending upon the # of months the amount should be divided.:confused:

Sheet1[TABLE="class: html-maker-worksheet"]
<TBODY>[TR]
[TH][/TH]
[TH]A
[/TH]
[TH]E
[/TH]
[TH]F
[/TH]
[TH]G
[/TH]
[TH]H
[/TH]
[TH]I
[/TH]
[TH]J
[/TH]
[TH]K
[/TH]
[TH]L
[/TH]
[TH]M
[/TH]
[TH]N
[/TH]
[TH]O
[/TH]
[TH]P
[/TH]
[/TR]
[TR]
[TH]1
[/TH]
[TD]# of Months
[/TD]
[TD]Amount
[/TD]
[TD][/TD]
[TD][/TD]
[TD]January
[/TD]
[TD]February
[/TD]
[TD]March
[/TD]
[TD]April
[/TD]
[TD]May
[/TD]
[TD]June
[/TD]
[TD]July
[/TD]
[TD]August
[/TD]
[TD]September
[/TD]
[TD]October
[/TD]
[TD]November
[/TD]
[TD]December
[/TD]
[/TR]
[TR]
[TH]2
[/TH]
[TD]3
[/TD]
[TD]7000
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TH]3
[/TH]
[TD]6
[/TD]
[TD]800
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
You want the starting value to always be in January?
 
Upvote 0
Hi,

Has any one tried what "schielrn
suggested?
I replicated his formula example in a blank sheet and it did not work just showed #VALUE!
Do certain cells have to be formatted in certain ways too eg. DATE, Currency etc?

If someone could give any suggestion based on his example that would be so hopeful! I have hundreds of expenses which are monthly, quarterly or yearly which need to be split into months

Thanks!


 
Upvote 0
The months listed in the columns are actual text months and not a date field. So make sure in my example that E1 is actually January and not 01/DD/YYYY formatted to just show the month.

If that is not the case then post back how exactly you have your data.
 
Upvote 0

Forum statistics

Threads
1,224,271
Messages
6,177,608
Members
452,785
Latest member
3110vba

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