Cash flow based on start, length & frequency...help!

=IF(

New Member
Joined
Apr 20, 2010
Messages
27
Hey guys,

Hoping you can help me with something I've had trouble with. I'm trying to assign a cash flow to the correct periods in time based on years & frequency. E.g

A5= Contract Start Date
B5= Contract Length (Specifically in years)
C5= Cost (to be evenly distributed for a period of time based on start date and contract length)

D5= Frequency in years (i.e. I only want the evenly distrubuted cost to occur every 3 years over a 20 year period)

Having a bit of trouble working this out but toying with the MOD function. Any ideas/ solutions?

Much appreciated!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
I can't really see your model layout... I assume it's annual?

If you have a date input I assume there must be a row with dates for each column. ...or is it just matching a year?

In my models, I create a row for the contract "period" and then based on the start date I add logic so that row contains zeros before and after the start date, and counts 1 to n for the specified contract period.

Once you have your "period" row functioning correctly, you're on the right track with the MOD function. Set it up so it returns zeros and ones. The ones being every third year =--(MOD(n,3)=0) where n = period

Then just multiply the resulting binary switches by your recurring value.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,215
Members
448,874
Latest member
b1step2far

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