# RECEIVED

## Content

This function returns the amount received at maturity for a fully invested security.

## Syntax

`RECEIVED(settle, mature, invest, discount, [basis])`

## Arguments

This function has these arguments:

| Argument | Description |
| -------- | ----------- |
| *settle* | [Required] Settlement date for the security |
| *mature* | [Required] Maturity date for the security |
| *invest* | [Required] Amount invested in the security |
| *discount* | [Required] Discount rate for the security |
| *basis* | [Optional] Integer representing the basis for day count |

## Remarks

This function returns a #VALUE! error when *settle* or *mature* is invalid. *Settle*, *mature*, and *basis* are truncated to integers.
The function returns an error in the following cases:

* If *invest* or *discount* 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 *mature*, a #NUM! error is returned.

## Examples

`RECEIVED(A1,B2,C3,C4,1)`
`RECEIVED("3/01/2004","6/01/2004",600000,0.03,2)` gives 604,635.50