# 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* | Settlement date for the security |
| *mature* | Maturity date for the security |
| *invest* | Amount invested in the security |
| *discount* | Discount rate for the security |
| *basis* | [Optional] Integer representing the basis for day count (Refer to [Day Count Basis](/spreadjs/docs/v16/formulareference/formulaoverview/functionsformula/DayCountBasis).) |

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

## Data Types

Accepts numeric data for all arguments. Returns numeric data.

## Examples

`RECEIVED(A1,B2,C3,C4,1)`

`RECEIVED("3/01/2004","6/01/2004",600000,0.03,2)` gives $604,635.50