Quarterly cash flow modeling -> Every fourth month bring back inflow from previous quarter

diarrheaplanet

New Member
Joined
Jun 26, 2016
Messages
15
Hi guys,

Hope all is good!

I've been busting my head for a cash flow modeling scenario, but I can't figure out a way around it.

Basically, what I'm trying to do, is model a quarterly cash flow that happens the month after that quarter has finished.

I think an example explains it better:

If a client starts using my service for month 1 (USD 50), month 2 (USD 50) and month 3 (USD 50), I will get the real inflow from those three months (USD 150) on month 4... And then on month 7 the cash flow from the fees from month 4,5 and 6... And so on.

Basically, the real cash flow would havw to look like:

Month 1: No inflow
Month 2: No inflow
Month 3: No inflow
Month 4: Inflow from 1,2,3,
Month 5: No inflow
Month 6: No inflow
Month 7: Inflow from 4,5,6

Also, I'm trying to model this to go alongside the date that the payment from the client starts, as one of the inputs of the model is that revenue starts based on an certain date.

Tried a few things using offset and substracting past months, but not getting even close to it.

Would anybody have any suggestions?
Would really appreciate the help!!!
 

Attachments

  • Screen Shot 2020-08-27 at 18.28.31.png
    Screen Shot 2020-08-27 at 18.28.31.png
    64.6 KB · Views: 15
For reference, here it is when I try to paste it as an array

Screen Shot 2020-08-28 at 9.28.58.png
 

Attachments

  • Screen Shot 2020-08-28 at 9.27.03.png
    Screen Shot 2020-08-28 at 9.27.03.png
    129.7 KB · Views: 4
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Managed to use the XL2BB to post my real code, which you'll find below. The row Im trying to solve is G223

Cell Formulas
RangeFormula
G217:AJ217G217=IF(G$10=$F$195,$C$195,IF(G$10>$F$195,MIN(F217*(1+$D$195),$C$190),0))
G218:AJ218G218=G217*$E$195
F219F219=VLOOKUP($B216,$B$174:$C$185,2,)
G219:AJ219G219=IF(F219-G221>0,F219-G221,IF(F219-G221<0,0))
G221:AJ221G221=G218-(G217*5)
G222:AJ222G222=IF(G219>0,G217*5,IF(G219=0,G218-F219))
G223:AJ223G223=IF(ISNUMBER(MATCH(COUNTIF($G$218:G218,">0"),ROW($A$1:$A$31)*4,0)),SUM(INDEX($F$218:F218,0,AGGREGATE(14,6,COLUMN($F$218:F218)-COLUMN($F$218)+1,{1,2,3}))),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
i am confused with your requirement.

In the earlier post you had layout which was completely different and now you have changed it.
If you see the post 14, from where i should start the calculation. is it from F223 or P223.
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,433
Members
448,897
Latest member
ksjohnson1970

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