3,210 bytes added
, 02:47, 25 October 2013
<div id="6SpaceContent" class="zcontent" align="left">
'''YIELDMAT'''(SettlementDate, MaturityDate, IssueDate, Rate, Price, Basis)
where,
'''SettlementDate''' - represents the settlement date.
'''MaturityDate''' - represents the maturity date.
'''IssueDate -''' represents the issue date.
'''Rate''' - represents the rate.
'''Price''' - represents the price per $100 face value.
'''Basis''' - type of day count basis
'''Basis Day count basis'''
0 or omitted US 30/360
1 Actual/actual
2 Actual/360
3 Actual/365
4 European 30/360
</div>
----
<div id="1SpaceContent" class="zcontent" align="left">
It returns the annual yield that pays interest at maturity.
</div>
----
<div id="7SpaceContent" class="zcontent" align="left">
If Basis < 0 or Basis > 4 , YIELDMAT returns the #ERROR.
If Rate < 0 or Price <= 0, it returns the #ERROR.
If SettlementDate >= MaturityDate, YIELDMAT returns #ERROR.
</div>
----
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
YIELDMAT
</div></div>
----
<div id="8SpaceContent" class="zcontent" align="left">
Lets see an example in (Column1, Row6)
<nowiki>=YIELDMAT(R1C1, R2C1, R3C1, R4C1, R5C1)</nowiki>
YIELDMAT returns 1.651036.
Consider another example
<nowiki>=YIELDMATdate(2007,1,1), date(2008,2,20),DATE(2007,5,5),"6.34%" 85.12,5)</nowiki>
It returns #ERROR(Basis=5).
</div>
----
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
----
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
----
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
----
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
----
<div id="2SpaceContent" class="zcontent" align="left">
{| id="TABLE3" class="SpreadSheet blue"
|- class="even"
| class=" " |
| class=" " | Column1
| class=" SelectTD ChangeBGColor SelectTD" |
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]] </div>Column2
| Column3
| Column4
|- class="odd"
| class=" " | Row1
| class=" " | 1/1/2008
|
|
|
|- class="even"
| class=" " | Row2
| class=" " | 2/20/2008
|
|
|
|- class="odd"
| Row3
| class=" " | 2/2/2007
|
|
|
|- class="even"
| Row4
| class=" " | 8.25%
|
|
|
|- class="odd"
| class=" " | Row5
| class=" " | 80.855
|
|
|
|- class="even"
| class="sshl_f" | Row6
| class="sshl_f " | 2
| class="sshl_f" |
| class="sshl_f" |
| class="sshl_f" |
|- class="odd"
| class="sshl_f" | Row7
| class="sshl_f" | 1.651036
|
|
|
|}
<div align="left">[[Image:calci1.gif]]</div></div>
----