Hi, I am trying to model my in- and outgoing cash flow and want to have them dynamically change when I change the payment terms. Any ideas? Thanks!
[TABLE="width: 1095"]
<colgroup><col width="184" style="width: 138pt;"><col width="128" style="width: 96pt;"><col width="87" span="9" style="width: 65pt;"></colgroup><tbody>[TR]
[TD="width: 184"][/TD]
[TD="width: 128"]Start date week[/TD]
[TD="class: xl65, width: 87, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]12/1/18[/TD]
[TD="class: xl63, width: 87, align: right"]12/8/18[/TD]
[TD="class: xl63, width: 87, align: right"]12/15/18[/TD]
[TD="class: xl63, width: 87, align: right"]12/22/18[/TD]
[TD="class: xl63, width: 87, align: right"]12/29/18[/TD]
[TD="class: xl63, width: 87, align: right"]1/5/19[/TD]
[TD="class: xl63, width: 87, align: right"]1/12/19[/TD]
[TD="class: xl63, width: 87, align: right"]1/19/19[/TD]
[TD="class: xl63, width: 87, align: right"]1/26/19[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Year[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2019[/TD]
[TD="class: xl64, align: right"]2019[/TD]
[TD="class: xl64, align: right"]2019[/TD]
[TD="class: xl64, align: right"]2019[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Quarter[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Month[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Week#[/TD]
[TD="class: xl64, align: right"]48[/TD]
[TD="class: xl64, align: right"]49[/TD]
[TD="class: xl64, align: right"]50[/TD]
[TD="class: xl64, align: right"]51[/TD]
[TD="class: xl64, align: right"]52[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]2[/TD]
[TD="class: xl64, align: right"]3[/TD]
[TD="class: xl64, align: right"]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Week-consecutive[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]2[/TD]
[TD="class: xl64, align: right"]3[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]5[/TD]
[TD="class: xl64, align: right"]6[/TD]
[TD="class: xl64, align: right"]7[/TD]
[TD="class: xl64, align: right"]8[/TD]
[TD="class: xl64, align: right"]9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Units ordered[/TD]
[TD][/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]1000[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[/TR]
[TR]
[TD]Price per unit[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]100[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Payment terms (in weeks)[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cash out[/TD]
[TD][/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 1095"]
<colgroup><col width="184" style="width: 138pt;"><col width="128" style="width: 96pt;"><col width="87" span="9" style="width: 65pt;"></colgroup><tbody>[TR]
[TD="width: 184"][/TD]
[TD="width: 128"]Start date week[/TD]
[TD="class: xl65, width: 87, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]12/1/18[/TD]
[TD="class: xl63, width: 87, align: right"]12/8/18[/TD]
[TD="class: xl63, width: 87, align: right"]12/15/18[/TD]
[TD="class: xl63, width: 87, align: right"]12/22/18[/TD]
[TD="class: xl63, width: 87, align: right"]12/29/18[/TD]
[TD="class: xl63, width: 87, align: right"]1/5/19[/TD]
[TD="class: xl63, width: 87, align: right"]1/12/19[/TD]
[TD="class: xl63, width: 87, align: right"]1/19/19[/TD]
[TD="class: xl63, width: 87, align: right"]1/26/19[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Year[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2018[/TD]
[TD="class: xl64, align: right"]2019[/TD]
[TD="class: xl64, align: right"]2019[/TD]
[TD="class: xl64, align: right"]2019[/TD]
[TD="class: xl64, align: right"]2019[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Quarter[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Month[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]12[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Week#[/TD]
[TD="class: xl64, align: right"]48[/TD]
[TD="class: xl64, align: right"]49[/TD]
[TD="class: xl64, align: right"]50[/TD]
[TD="class: xl64, align: right"]51[/TD]
[TD="class: xl64, align: right"]52[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]2[/TD]
[TD="class: xl64, align: right"]3[/TD]
[TD="class: xl64, align: right"]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Week-consecutive[/TD]
[TD="class: xl64, align: right"]1[/TD]
[TD="class: xl64, align: right"]2[/TD]
[TD="class: xl64, align: right"]3[/TD]
[TD="class: xl64, align: right"]4[/TD]
[TD="class: xl64, align: right"]5[/TD]
[TD="class: xl64, align: right"]6[/TD]
[TD="class: xl64, align: right"]7[/TD]
[TD="class: xl64, align: right"]8[/TD]
[TD="class: xl64, align: right"]9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Units ordered[/TD]
[TD][/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]1000[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[/TR]
[TR]
[TD]Price per unit[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]100[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Payment terms (in weeks)[/TD]
[TD="class: xl66, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cash out[/TD]
[TD][/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl67"] [/TD]
[/TR]
</tbody>[/TABLE]