YIELDMAT Function
Calculates the annual yield of a security that pays interest at maturity.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| settlement | Date the security is purchased. | Required |
| maturity | Date the security expires. | Required |
| issue | Date the security was issued. | Required |
| rate | Annual interest rate at issue. | Required |
| pr | Price per $100 face value. | Required |
| basis | Day-count convention (0 = US 30/360, default). | Optional |
Basic Example
Yield of a maturity-paying security
=YIELDMAT(DATE(2024,4,1), DATE(2024,12,31), DATE(2024,1,1), 0.06, 98)Calculates the yield for a security issued January 1, 2024, paying 6% interest at maturity, and priced at $98.
Advanced Examples
Example 1: With actual/365 basis
Money market instrumentUse basis 3 for actual/365
=YIELDMAT(DATE(2024,4,1), DATE(2024,12,31), DATE(2024,1,1), 0.06, 98, 3)How YIELDMAT Works
YIELDMAT solves for the yield that equates the present value of the maturity payment, including accrued interest, to the current price.
Important Notes & Limitations
Settlement must be before maturity.
Issue date must be before maturity.
Basis affects the day count.
Common Errors & Fixes
#NUM! errorInvalid dates, rate, or price.Fix: Verify all inputs and date order.
#VALUE! errorDates are not recognized.Fix: Use DATE function or valid date serial numbers.
Download Practice File
YIELDMAT
yieldmatPractice YIELDMAT with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the YIELDMAT function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps