Probably not as simple as I'm hoping....

ahoward303

New Member
Joined
Jun 8, 2018
Messages
7
[TABLE="width: 500"]
<tbody>[TR]
[TD]Start Date[/TD]
[TD]End Date[/TD]
[TD]Project Value[/TD]
[TD]Jun-18[/TD]
[TD]Jul-18[/TD]
[TD]Aug-18[/TD]
[TD]Sep-18[/TD]
[TD]Oct-18[/TD]
[TD]Nov-18[/TD]
[TD]Dec-18[/TD]
[/TR]
[TR]
[TD]Jun-18[/TD]
[TD]Dec-18[/TD]
[TD]$42,000[/TD]
[TD]$6,000[/TD]
[TD]$6,000[/TD]
[TD]$6,000[/TD]
[TD]$6,000[/TD]
[TD]$6,000[/TD]
[TD]$6,000[/TD]
[TD]$6,000[/TD]
[/TR]
</tbody>[/TABLE]

I have a spreadsheet that lists end dates & start dates, project values & the months of Jun 2018 - Oct 2019. What I'm wanting to do is forecast the project value based on the start and end dates. For example. I have a $42,000 project that will start in June 2018 and complete in Dec 2018. I'm wanting a formula that will forecast it for me so anytime a start or end date is changed the forecast for that project will change. Is that possible or am I expecting too much?

Thank you for any help you can provide!

Ashley
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
So basically, in your example, you want to divide 42,000 by 7 months, but if you change Dec-18 to Oct-18, you then want to divide by 5?

To subtract the months, use this:

=MONTH(B2-A2)

or for the whole formula at once, try this:

=C2/(MONTH(B2-A2))
 
Upvote 0
Try placing the following formula in cell D2 and drag-copying it to the right as needed:

=IF(AND($A2<=D$1,D$1<=$B2),$C2/(MONTH($B2)-MONTH($A2)+1),"")
 
Upvote 0
Try placing the following formula in cell D2 and drag-copying it to the right as needed:

=IF(AND($A2<=D$1,D$1<=$B2),$C2/(MONTH($B2)-MONTH($A2)+1),"")

This one is working beautifully! Thank you so much!! However, when I try to span more than one year, like from June 2018 to July 2019, the dollar amount is quadrupled.
 
Upvote 0
this one didn't work for me. It calculates the same amount for each month even if its not in the timeframe I'm needing.
 
Upvote 0
This one is working beautifully! Thank you so much!! However, when I try to span more than one year, like from June 2018 to July 2019, the dollar amount is quadrupled.
Acknowledged. Please try the following updated formula:

=IF(AND($A2<=D$1,D$1<=$B2),$C2/DATEDIF(EOMONTH($A2,-1)+1,EOMONTH($B2,0)+1,"m"),"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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