Placing an amount invested on a certain day in another cell/column after a certain time

mike4777

Board Regular
Joined
Apr 12, 2011
Messages
124
After an initial investment is made (M7) and it accrues interest to a certain amount (T9 table) you can re-invest it. Different amounts are held for different times until it is then released. I need the amounts released to show on the certain day they are released.

I included a blue table in the worksheet (sheet 1010) that explains more specifically. I'm pretty sure the formula should be sumproduct and offset, but I'm not entirely sure. Any help would be appreciated.

https://drive.google.com/file/d/1qy-IeFSA8p_JjF_OLnJbZRDzZ-tFIzXD/view?usp=sharing
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
C3: =SUMPRODUCT(B$2:B3,--(LOOKUP(B$2:B3,E$3:E$6,F$3:F$6)+A$2:A3=A3))


Excel 2010
ABCDEF
1DayAmountRelease
21AmountRelease Days
327,0000010
4312,00001,0007
5405,0003
6550019,00010,0002
760
870
981,2000
1090
11107,0000
12110
13120
14137,000
15140
16151,700
17160
18170
Sheet1
 
Last edited:
Upvote 0
C3: =SUMPRODUCT(B$2:B3,--(LOOKUP(B$2:B3,E$3:E$6,F$3:F$6)+A$2:A3=A3))

Excel 2010
ABCDEF

<tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]Day[/TD]
[TD="align: right"]Amount[/TD]
[TD="align: right"]Release[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]Amount[/TD]
[TD="align: right"]Release Days[/TD]

[TD="align: center"]3[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]7,000[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]10[/TD]

[TD="align: center"]4[/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]12,000[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"]1,000[/TD]
[TD="align: right"]7[/TD]

[TD="align: center"]5[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"]5,000[/TD]
[TD="align: right"]3[/TD]

[TD="align: center"]6[/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]19,000[/TD]
[TD="align: right"][/TD]
[TD="align: right"]10,000[/TD]
[TD="align: right"]2[/TD]

[TD="align: center"]7[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]8[/TD]
[TD="align: center"]7[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]9[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]1,200[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]10[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]11[/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]7,000[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]12[/TD]
[TD="align: center"]11[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]13[/TD]
[TD="align: center"]12[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]14[/TD]
[TD="align: center"]13[/TD]
[TD="align: right"][/TD]
[TD="align: right"]7,000[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]15[/TD]
[TD="align: center"]14[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]16[/TD]
[TD="align: center"]15[/TD]
[TD="align: right"][/TD]
[TD="align: right"]1,700[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]17[/TD]
[TD="align: center"]16[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]18[/TD]
[TD="align: center"]17[/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

</tbody>
Sheet1


thank you for responding. Unfortunately this formula is useless for me because it cannot be adapted into my worksheet (1010) because I don't think you had in mind what tables I was trying to link. If you read the blue box with the instructions in Z12 you will see what I'm trying to do. I posted the link so you could get an idea how to link the charts I referred to. Could I convince you to adapt the formula to the worksheet?
 
Last edited:
Upvote 0
Unfortunately this formula is useless for me because it cannot be adapted into my worksheet (1010) because I don't think you had in mind what tables I was trying to link. If you read the blue box with the instructions in Z12 you will see what I'm trying to do. I posted the link so you could get an idea how to link the charts I referred to. Could I convince you to adapt the formula to the worksheet?

I have followed your instructions exactly, and provided a simplified example, e.g. to to better illustrate the calculation, I have used relatively short capital release periods of 10, 7, 3 and 2 days vs your periods of up to 299 days. Based on your description and my table, the $7,000 on day 2 will be released 3 days later, i.e. on day 5. The $12,000 on day 3 will be released 2 days later, i.e. also on day 5.

If this is correct, all you need do is change the cell references, e.g. my lookup table is E3:F6, whereas yours is T9:U12
 
Upvote 0
I have followed your instructions exactly, and provided a simplified example, e.g. to to better illustrate the calculation, I have used relatively short capital release periods of 10, 7, 3 and 2 days vs your periods of up to 299 days. Based on your description and my table, the $7,000 on day 2 will be released 3 days later, i.e. on day 5. The $12,000 on day 3 will be released 2 days later, i.e. also on day 5.

If this is correct, all you need do is change the cell references, e.g. my lookup table is E3:F6, whereas yours is T9:U12

I think this is what you meant, right? =SUMPRODUCT($Q$8:$Q$19,--(LOOKUP($Q$8:$Q$19,$T$9:$U$12,$U$9:$U$12)+$P$8:$P$19=B38)) Seems to be working, verifying now
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,023
Latest member
alabaz

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