# ODDLYIELD

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 yield of a security with an odd last period.

## Syntax

ODDLYIELD(*settle,maturity,last,rate,price,redeem,freq,basis*)

## Arguments

This function has these arguments:

| **Argument** | **Description** |
| -------- | ----------- |
| *settle* | Settlement date for the security |
| *maturity* | Maturity date for the security |
| last | Last coupon date |
| *rate* | Annual interest rate |
| price | Price of the security |
| redeem | Redemption value per $100 face value for the security |
| freq | Frequency of payment, number of payments per year |
| *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 last is invalid. Settle, maturity, last, and basis are truncated to integers. If rate 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. Maturity should be greater than settle which should be greater than last. Otherwise a #NUM! error is returned.

## Data Types

Accepts numeric data or dates. Returns numeric data.

## Examples

`ODDLYIELD(G1,G2,G3,G4,G5,G6,G7,G8)`

## Version Available

This function is available in product version 2.0 or later.

## See Also

[PRICE](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionPRICE) \| [ODDFPRICE](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionODDPRICE) \| [ODDFYIELD](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionODDFYIELD) \| [ODDLPRICE](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionODDLPRICE) \| [Financial Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsfinance)