Populate Values According to Year

kumara_faith

Well-known Member
Joined
Aug 19, 2006
Messages
955
Office Version
  1. 365
Hi,

I have the following table:

Book2
BCDEFGHIJ
4Maturity Period5YearFace ValueInitialFace Value-Bond PriceInterestTotal
5Coupon Rate6%1100095050601060
6Frequency of Coupon1.002601120
7Current Bond Price9503601180
8Face Value10004601240
95601300
10Adjusted Coupon Payment60
11Adjusted No of Period5
Bond
Cell Formulas
RangeFormula
G5G5=C7
H5H5=F5-G5
I5:I9I5=$C$10*$C$6
J5J5=G5+I5+H5
J6:J9J6=J5+I6
C10C10=IF(C6>0,C5*C8/C6,C5*C8)
C11C11=IF(C6>0,C4*C6,C4)


I would like to populate the values in column E, I and J to column J according to value in cell C11. In other words, since cell C11 only has a value of 5, then the values in column E, I and J should only populate up to year 5. Is there a way to do this ? Appreciate all the help.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Like this?

24 02 11.xlsm
BCDEFGHIJ
4Maturity Period5YearFace ValueInitialFace Value-Bond PriceInterestTotal
5Coupon Rate0.061100095050601060
6Frequency of Coupon12601120
7Current Bond Price9503601180
8Face Value10004601240
95601300
10Adjusted Coupon Payment60
11Adjusted No of Period5
Years
Cell Formulas
RangeFormula
E5:E9E5=SEQUENCE(C11)
G5G5=C7
H5H5=F5-G5
I5:I9I5=SEQUENCE(C11,,C10*C6,0)
J5:J9J5=SEQUENCE(C11,,G5+H5+I5,I5)
C10C10=IF(C6>0,C5*C8/C6,C5*C8)
C11C11=IF(C6>0,C4*C6,C4)
Dynamic array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,813
Messages
6,181,112
Members
453,021
Latest member
Justyna P

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