Start date end date calulation

Schubby10

New Member
Joined
Aug 16, 2018
Messages
33
Hey guys hoping someone can help me with this. I can play around with dates use helper cells etc.

I have various start dates, end dates and then a PO Amt for each project. I need to straight line all amounts over the time frame.

I currently have 2016/2017 in years and then 2018 by month.

I would like to be able to put the amounts in the coresponding months with a formula.

For example:

K2=PO amount of 834000
L2 = Start Date of 04/01/2018 (can just use 04/18 if easier)
M2= End date of 07/31/2018
N2=2016
O2=2017
P2-AA2=jan-dec 2018

I know the dated formula to get the amount per month but how would I lay this out.

Thank you in advance
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Excel 2010
KLMNOPQRSTUV
1AmountStartEndMonthlyJan-2018Feb-2018Mar-2018Apr-2018May-2018Jun-2018Jul-2018
2$834,000.001-Apr-1831-Jul-18$208,500.000.000.000.00208,500.00208,500.00208,500.00208,500.00
3$834,000.001-Apr-1831-Jul-180.000.000.00208,500.00208,500.00208,500.00208,500.00
4
5T201811b1c
6
1c
Cell Formulas
RangeFormula
N2=K2/DATEDIF(L2-1,M2,"m")
P2=(P$1>=$L2)*(EOMONTH(P$1,0)<=$M2)*$N2
P3=(P$1>=$L3)*(EOMONTH(P$1,0)<=$M3)*($K3/DATEDIF($L3-1,$M3,"m"))


P1 etc are actual dates like Jan 1 2018

Put N2 where you want or use the formula that calculates the amount in each cell
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,593
Messages
6,125,716
Members
449,254
Latest member
Eva146

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