distribution of expense over 12 month period

shamsu203

Board Regular
Joined
Jun 12, 2014
Messages
70
Office Version
  1. 365
Platform
  1. Windows
Hi
I have a work sheet which contains the total yearly expense. I want to allocate this expense for the no of months completed in the year in other sheet.
Eg
Expense sheet row a1 usd 4300/
income expense sheet starting from jan to jul this amount of 4300 need to be proportionaly show for this period as =(4300/12)*7. in aug the no to divide will be 8
what is the formula to use.
Regrds
Shamsu
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
H2:S2 are dates like Jan 31, 2020 .. Dec 31, 2020; they are formatted “MMM”.
T202007b.xlsm
ABCDEFGHI
1
2AmountStart dateEnd DateStated Number of MonthsTermJanFeb
3$4,300 01-Jan-2031-Dec-20712358.33358.33
4$2,000 20-Feb-2020-Jun-2054 500.00
4aa
Cell Formulas
RangeFormula
H3:I4H3=IF(AND($C3<=H$2,SUM($G3:G3)<$B3),$B3/$F3,"")
F3:F4F3=DATEDIF(C3-1,D3,"m")
 
Last edited:
Upvote 0
T202007b.xlsm
ABCDEFGHIJ
1Distribute to Stated # of months
2AmountStart dateEnd DateStated Number of MonthsTermJanFebMar
3$4,300 01-Jan-2031-Dec-20712358.33358.33358.33
4$1,200 15-Jan-2031-Dec-201212100.00100.00100.00
4aa
Cell Formulas
RangeFormula
H3:J4H3=IF(AND($C3<=H$2,COUNTIF($G3:G3,">0")<$E3),$B3/$F3,"")
F3:F4F3=DATEDIF(C3-DAY(C3),D3,"m")
 
Upvote 0
Hii
Tks for ur reply. (y) what formula will give me total of seven months in h3. this will change if e 3 change to 8 months (ie the start date to todays date.
Regrds
Shamsu
 
Upvote 0
Did you try the formula?
If you change E3 to 8, 358.33 will show in Jan - Aug and that range adds up to 2866.67. You can have a cell such as T3 that would give the total =SUM(H3:S3)
Try reviewing the formula with Excel's Formula Evaluate in the Formula Auditing area of icons.
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,286
Members
449,076
Latest member
kenyanscott

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