YIELDMAT function
Returns the annual yield of a security that pays all its interest at maturity, from its price.
Available in Excel 2007 and later (earlier versions needed the Analysis ToolPak add-in), Excel for the web
Excel 2007 and laterWorks in Google Sheets
Syntax
YIELDMAT(settlement, maturity, issue, rate, pr, [basis])| Argument | What it means | |
|---|---|---|
settlement | Required | The date you buy the security (after its issue date). |
maturity | Required | The date the security matures and is repaid. |
issue | Required | Issue date. |
rate | Required | Interest rate at issue. |
pr | Required | Price per 100 face value. |
basis | Optional | Day-count basis: 0 or omitted = US 30/360, 1 = actual/actual, 2 = actual/360, 3 = actual/365, 4 = European 30/360. |
Returns: The annual yield (format as %).
How YIELDMAT works
YIELDMAT is the reverse of PRICEMAT. You know the price at which an interest-at-maturity note is offered, and you want the yield you would earn if you hold it to maturity. Excel compares what you pay (price plus interest accrued since issue) with what you receive at maturity (100 plus all the interest) and annualises the gain as simple interest.
Use it to compare such notes with ordinary deposits or with coupon bonds' YIELD. All day counts follow the chosen basis.
Examples
1Yield on a note offered at 99.70
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2027-04-15 |
| 3 | Issue | 2026-04-15 |
| 4 | Rate | 4.25% |
| 5 | Price | 99.7 |
| 6 | Basis | 0 |
| 7 | ||
| 8 | 4.944% |
Result: 4.944%
Paying 99.70 plus accrued interest for a note that returns 104.25 in 133 days gives a simple annual yield of 4.944% (% with 3 decimals).
2Round trip with PRICEMAT
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2027-04-15 |
| 3 | Issue | 2026-04-15 |
| 4 | Rate | 4.25% |
| 5 | Yield | 4.60% |
| 6 | Basis | 0 |
| 7 | ||
| 8 | 4.60% |
Result: 4.60%
Pricing the note at 4.6% and then asking for its yield returns 4.60% again, confirming the two functions are inverses.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | rate < 0, pr ≤ 0, or settlement ≥ maturity. | Check the inputs. |
#VALUE! | A date argument is not a valid date. | Use real date cells or DATE; dates are truncated to whole days. |
Tips
- Enter dates with DATE or as date cells, not as text such as "12/02/2026", which different regional settings read differently.
Google Sheets
YIELDMAT also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
YIELDMAT in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | AFKAST.UDLØBSDATO |
| Dutch | REND.VERVAL |
| Finnish | TUOTTO.ERÄP |
| French | RENDEMENT.TITRE.ECHEANCE |
| German | RENDITEFÄLL |
| Hungarian | HOZAM.LEJÁRAT |
| Italian | REND.SCAD |
| Norwegian (Bokmål) | AVKAST.FORFALL |
| Polish | RENT.WYKUP |
| Portuguese (Brazil) | LUCROVENC |
| Portuguese (Portugal) | LUCROVENC |
| Russian | ДОХОДПОГАШ |
| Spanish | RENDTO.VENCTO |
| Swedish | NOMAVKFÖRF |
| Turkish | ÖDEMEVADE |