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

ahoward303

New Member
Joined
Jun 8, 2018
Messages
7
Start DateEnd DateProject ValueJun-18Jul-18Aug-18Sep-18Oct-18Nov-18Dec-18
Jun-18Dec-18$42,000$6,000$6,000$6,000$6,000$6,000$6,000$6,000

<tbody>
</tbody>

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

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
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,216,194
Messages
6,129,449
Members
449,509
Latest member
ajbooisen

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