# YIELDMAT

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function calculates the annual yield of a security that pays interest at maturity.

## Syntax

YIELDMAT(*settle*,*maturity*,*issue*,*issrate*,*price*,*basis*)

## Arguments

This function has these arguments:

| **Argument** | **Description** |
| -------- | ----------- |
| *settle* | Settlement date for the security |
| *maturity* | Maturity date for the security |
| *issue* | Issue date for the security |
| *issrate* | Interest rate for the security at the date of issue |
| *price* | Price per $100 face value for the security |
| *basis* | [Optional] Integer representing the basis for day count (Refer to [Day Count Basis](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsfinance/formulas-functsdaycount).) |

## Remarks

This function returns a #VALUE! error when settle, maturity, or issue is invalid. If issrate is less than 0 or price is less than or equal to 0, a #NUM! error is returned. If basis is less than 0 or greater than 4, a #NUM! error is returned. If settle is greater than or equal to maturity, a #NUM! error is returned. Settle, maturity, issue, and basis are truncated to integers.

## Data Types

Accepts numeric and date data. Returns numeric data.

## Examples

`YIELDMAT(C1,C2,C3,C4,C5,C6)`

## Version Available

This function is available in product version 2.0 or later.

## See Also

[YIELD](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsTtoZ/FunctionYIELD) \| [YIELDDISC](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsTtoZ/FunctionYIELDDISC) \| [PRICEMAT](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionPRICEMAT) \| [Financial Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsfinance)