ACCRINTM

Returns the accrued interest for a security that pays interest at maturity.
=ACCRINTM(B1, B2, B3, B4)
ACCRINTM() Result is $800.00