SpreadJS Documentation > Formula Reference > Formula Functions > RECEIVED |
This function returns the amount received at maturity for a fully invested security.
RECEIVED(settle,mature,invest,discount,basis)
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.) |
This function returns a #VALUE! error when settle or mature is invalid. Settle, mature, and basis are truncated to integers. 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.
Accepts numeric data for all arguments. Returns numeric data.
RECEIVED(A1,B2,C3,C4,1)
RECEIVED("3/01/2004","6/01/2004",600000,0.03,2) gives $604,635.50