=ACCRINTM(issue, settlement, rate, [par], [basis])
=ACCRINTM("2022-01-01`, "2022-07-01`, 0.05, 1000, 0)
This formula calculates the accrued interest for a security that pays interest at maturity, with an issue date of January 1, 2022, a settlement date of July 1, 2022, an annual interest rate of 5%, a par value of 1,000, and a day count basis of US (NASD) 30/360. The result is the amount of interest accrued from the issue date to the settlement date.
=ACCRINTM("2022-01-01`, "2022-12-31`, 0.04, 2000, 1)
This formula calculates the accrued interest for a security that pays interest at maturity, with an issue date of January 1, 2022, a settlement date of December 31, 2022, an annual interest rate of 4%, a par value of 2,000, and a day count basis of Actual/Actual. The result is the amount of interest accrued from the issue date to the settlement date.
The ACCRINTM formula calculates the accrued interest for a security that pays interest at maturity, based on the issue date, maturity date, and rate of interest.