# Suggest some formula

#### sanjay_godambe

##### Board Regular
Test.xls
ABCDE
1Credit RatingIssuerCoupon Rate (%)Maturity DateFace Value (Rs.)
2
3
4SovereignGOI10.18%11-Sep-26200,000.00
5SovereignGOI10.03%09-Aug-19125,000.00
6SovereignGOI7.46%28-Aug-1750,000.00
7SovereignGOI12.25%02-Jul-10900,000.00
8SovereignGOI6.85%05-Apr-12300,000.00
9SovereignGOI7.46%10-Oct-17470,000.00
10SovereignGOI7.38%03-Sep-15610,000.00
11
12
132,655,000.00
14
15
16
18YearsFace value
192010900,000.00
2020110
212012300,000.00
222013-
232014-
242015610,000.00
252016-
262017520,000.00
272018
282019125,000.00
292026200,000.00
30Total2,655,000.00
Sheet1

### Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

#### SteveO59L

##### Well-known Member
Use a vlookup() using the year as the lookup value

#### fairwinds

##### MrExcel MVP
Hi,

Try:

=SUMPRODUCT(--(YEAR(\$D\$4:\$D\$10)=A19),\$E\$4:\$E\$10)

in B19 and drag down.

#### sanjay_godambe

##### Board Regular
Hi Fair,

Thanks a lot it works perfectly.

Regards

Sanjay

#### sanjay_godambe

##### Board Regular
Hi Fair,

Thanks for your replay their us one problem it is working fine in my test sheet but on my master sheet the error is coming like #Value!

Can u suggest why it is ? As i tried lot

Regards
sanjay

#### fairwinds

##### MrExcel MVP
Refering to the formula I posted, my guess is that something that is not a true date value can be found on the \$D\$4:\$D\$10 range.

Replies
6
Views
129
Replies
8
Views
123
Replies
4
Views
58
Replies
1
Views
84
Replies
2
Views
165

1,171,879
Messages
5,878,026
Members
433,311
Latest member
novalion

### 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.

### Which adblocker are you using?

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

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