How to Accrintm Function in Excel
Learn multiple Excel methods to calculate accrued interest at maturity with step-by-step examples and practical applications.
How to Accrintm Function in Excel
Why This Task Matters in Excel
Accrued interest represents the portion of interest that has built up on a fixed-income security between its issue date and the date you receive it back at maturity. If you work in banking, treasury, corporate finance, or even manage personal investments, failing to recognize accrued interest accurately can distort profit reporting, misstate portfolio valuations, and create unexpected cash-flow mismatches.
Imagine a corporate treasury desk purchasing short-term commercial paper that pays all interest at maturity. The accountant must record interest receivable monthly so the company’s financial statements match economic reality. In another scenario, a bond trader who flips zero-coupon bonds before maturity must quote a clean price (price without accrued interest) and a dirty price (price including interest). Even in personal finance, investors need to project the future value of a Treasury bill or certificate of deposit to compare yields across products.
Excel excels at these situations because:
- It combines date handling, financial functions, and dynamic tables in a single environment.
- It allows rapid scenario analysis—“What if the settlement date moves a week?”—without rewriting code.
- Finance teams worldwide standardize on Excel, so a workbook containing an ACCRINTM calculation is instantly shareable.
Mastering the ACCRINTM function gives you confidence that your accrued interest figure exactly matches professional bond-pricing systems. When you do not understand this task you may double count interest, understate yields, or violate accounting rules like accrual matching. The knowledge also interlocks with other skills such as bond pricing with PRICE, yield calculations with YIELD, or interest period counting with COUPNUM. In short, knowing how to calculate accrued interest at maturity is foundational to sound financial analysis and rock-solid audit trails.
Best Excel Approach
Excel’s dedicated ACCRINTM function is purpose-built to return the total accrued interest for securities that pay interest only when they mature—zero-coupon bonds, Treasury bills, or certain certificates of deposit. Because these instruments pay a single lump-sum cash flow, periodic coupon functions such as ACCRINT, COUPDAYBS, or COUPDAYS are not appropriate. ACCRINTM compresses all the logic (day-count conventions, proration of interest, optional par value) into one five-argument formula, drastically reducing the risk of manual miscalculations.
Syntax:
=ACCRINTM(issue, settlement, rate, par, [basis])
- issue – The date the security is issued.
- settlement – The date the investor purchases or redeems the security (often equal to maturity).
- rate – Annual coupon rate expressed as a decimal (0.05 means 5 percent).
- par – Face value of the security (commonly 1 000 but flexible).
- basis – (Optional) Day-count convention (0 = US 30/360, 1 = Actual/actual, 2 = Actual/360, 3 = Actual/365, 4 = European 30/360).
When do you prefer ACCRINTM?
- Any security with exactly one cash flow at maturity.
- When you want transparent, audit-friendly logic in your spreadsheet.
- When working with mixed day-count conventions across instruments.
Alternative approaches like manual prorating with DAYS360 or using PRICE/YIELD pairs are suitable when you also need discounted price but they are more error-prone solely for accrued interest.
Parameters and Inputs
For ACCRINTM to work flawlessly your inputs must be clean, properly typed, and logically consistent.
- issue and settlement must be valid Excel dates. Store them as serial numbers or enter with DATE(yyyy,mm,dd). Text dates can lead to #VALUE! errors if regional settings disagree.
- settlement should be after or on the issue date. Reversing the order throws a #NUM! error.
- rate is numeric. Enter 5 percent as 0.05 or 5% (Excel converts to 0.05). Negative rates produce #NUM! errors.
- par is numeric. Although bonds usually use 1 000, T-Bills may use 100. A blank par defaults to 1 000.
- basis must be 0,1,2,3, or 4. Any other integer returns #NUM!. If omitted, Excel assumes US 30/360 (0).
Before calculation, validate that:
- Issue and settlement fall within the same leap-year context if you intend Actual/actual.
- Date cells are not formatted as text—use ISNUMBER to test.
- No accidental spaces appear in percentage inputs copied from PDFs.
- The formula references absolute cell addresses correctly when filling down lists of securities.
Edge cases: If the security spans more than one year, ACCRINTM still returns the full accrued amount because it calculates interest from issue up to settlement regardless of years in between.
Step-by-Step Examples
Example 1: Basic Scenario
Suppose you purchase a six-month Treasury bill on its issue date and hold it until maturity. The bill pays 4 percent annual interest on a 1 000 face value, all at the end.
Sample data (enter in cells):
A | B |
---|---|
Issue Date | 01-Jan-2023 |
Maturity Date | 30-Jun-2023 |
Annual Rate | 4% |
Face Value | 1 000 |
Day-Count Basis | 1 |
Steps:
- Convert the visible dates to serials by formatting column B as Short Date.
- In B7 enter the formula:
=ACCRINTM(B2,B3,B4,B5,B6)
- Press Enter. Excel returns 19.89 (rounded) which represents 19 .89 units of currency—dollars if par is 1 000 USD.
Why does this work? ACCRINTM uses Actual/actual because basis=1. There are 180 actual days from 01-Jan-2023 to 30-Jun-2023. The function multiplies 0.04 × 1 000 × (180 / 365) ≈ 19.78. Rounding differences stem from leap-year handling.
Variations:
- Change the rate to 6 percent and instantly preview the new accrued value.
- Switch basis to 0 (US 30/360) to see how convention differences affect interest.
Troubleshooting: If you see #NUM!, ensure maturity (B3) is after issue (B2). If #VALUE!, the dates may have imported as text—wrap DATEVALUE around them.
Example 2: Real-World Application
A corporate treasurer invests surplus cash in three short-dated zero-coupon notes from different issuers. She wants a monthly accrual schedule for her general ledger. The notes have varied face values and day-count conventions.
Set up a table in [A1:F5]:
Security | Issue | Maturity | Rate | Par | Basis |
---|---|---|---|---|---|
ZCP-1 | 14-Feb-2023 | 14-Aug-2023 | 5.50% | 2 000 | 2 |
ZCP-2 | 01-Mar-2023 | 30-Nov-2023 | 4.75% | 5 000 | 0 |
ZCP-3 | 10-Jan-2023 | 10-Jan-2024 | 5.90% | 1 000 | 3 |
In G2 enter:
=ACCRINTM(B2,C2,D2,E2,F2)
Fill down to G4. Formatting G2:G4 as Currency yields:
Accrued Interest |
---|
53.21 |
177.50 |
58.14 |
Explanation: Each row independently evaluates the appropriate basis, scaling by par. The treasurer can now sum interest across notes to book monthly accruals.
Integration: Link these outputs to a pivot table by accounting month, combine with other cash-equivalent investments, or plot an interest accrual timeline on a chart.
Performance tips: For dozens of notes, put ACCRINTM in a structured table and let Excel’s spill engine auto-extend formulas. This maintains calculation speed even for hundreds of rows because ACCRINTM is a simple arithmetic function.
Example 3: Advanced Technique
A portfolio manager tracks 200 zero-coupon bonds in a dynamic array containing data pulled via Power Query from a Bloomberg export. She wants a single spill formula that returns accrued interest for every row without copying formulas manually.
Assume the Power Query table is named Bonds and columns are IssueDate, MaturityDate, CouponRate, Face, and Basis. In cell H2 of the same table enter:
=ACCRINTM(Bonds[IssueDate], Bonds[MaturityDate], Bonds[CouponRate], Bonds[Face], Bonds[Basis])
Because Excel tables auto-replicate column formulas, one entry populates all 200 rows. If using the new dynamic arrays with LET for clarity:
=LET(
issue, Bonds[IssueDate],
settle, Bonds[MaturityDate],
rate, Bonds[CouponRate],
par, Bonds[Face],
base, Bonds[Basis],
ACCRINTM(issue, settle, rate, par, base)
)
Advantages:
- Zero manual copying; updates propagate automatically when rows are added by a fresh Power Query refresh.
- Readability—LET names clarify inputs, easing audits.
- Scalability—Excel handles thousands of rows rapidly since ACCRINTM is vectorized.
Edge cases handled: If some basis cells are blank the function defaults to 0. For missing coupon rates the calculation returns #VALUE!, flagging data quality issues before reporting.
Professional tip: Wrap IFERROR around ACCRINTM to assign 0 or a custom message for incomplete rows:
=IFERROR(ACCRINTM(issue, settle, rate, par, base), "Data check")
Tips and Best Practices
- Use named ranges or tables for cleaner formulas; “Bonds[CouponRate]” is self-documenting compared with D2:D201.
- Store dates with DATE(year,month,day) to avoid locale misinterpretations between US and European formats.
- Reserve one sheet as a convention reference summarizing which basis applies to each asset class to reduce mis-selections.
- Combine ACCRINTM with conditional formatting so any negative result glows red—handy for spotting reversed date inputs.
- For periodic reporting, freeze a copy of calculated interest values with Paste Special → Values to lock period-end figures while allowing live calculations to continue on a new column.
- Document the day-count rationale in cell comments; auditors often ask why Actual/365 was chosen over Actual/360.
Common Mistakes to Avoid
- Reversing issue and settlement dates. This produces #NUM! and stalls downstream formulas. Always validate with a quick IF(settlement<issue,\"Check\", \"OK\").
- Forgetting to divide the percentage by 100. Typing 5 instead of 5% inflates interest by 100x. Stick to percent-formatted cells.
- Omitting the basis for securities that require Actual/actual. Relying on the default 30/360 can understate interest for long holdings.
- Using ACCRINT instead of ACCRINTM for zero-coupon bonds. ACCRINT assumes periodic coupons; results will be wrong or #NUM!.
- Hard-coding par value inside formulas (“*1000”). This creates maintenance headaches when you later import 5 000-face notes. Always reference a cell or column instead.
Alternative Methods
Method | When It Shines | Pros | Cons |
---|---|---|---|
ACCRINTM | Zero-coupon or interest-at-maturity securities | One-line, easy, handles five day-count bases | Limited to single cash-flow instruments |
Manual DAYS360/Actual calculation | Custom conventions or exotic instruments | Transparent arithmetic, granular control | Tedious, higher error risk |
PRICE & YIELD functions | Need both price and accrued interest | Integrates with market yield, returns price including interest | Requires extra steps to isolate accrued portion |
Financial Add-in or VBA | High volume automation, bespoke calendars | Automate across sheets, custom calendars | Setup time, maintenance, security warnings |
Use ACCRINTM for 90 percent of plain zero-coupon tasks. Switch to manual methods only for extremely unusual day-count rules (e.g., Actual/Actual ICMA). VBA solutions are justified when you process thousands of lines hourly and need to embed the model in a larger system.
FAQ
When should I use this approach?
Use ACCRINTM whenever the security pays its full interest at maturity. Classic examples: Treasury bills, zero-coupon bonds, commercial paper, and deep-discount notes issued at face value plus interest.
Can this work across multiple sheets?
Yes. Reference the cells as Sheet2!B2 etc., or better, convert both sheets’ data ranges into Excel Tables and use structured references like Portfolio[IssueDate]. Structured references remain accurate even if rows shift.
What are the limitations?
ACCRINTM cannot calculate interest for instruments with periodic coupons. It only offers five predefined day-count bases. It also ignores compounding beyond simple interest, so inflation-indexed or floating-rate instruments need different models.
How do I handle errors?
Wrap the function in IFERROR or use data validation. Example:
=IFERROR(ACCRINTM(issue, settlement, rate, par, basis), 0)
Log #NUM! separately to investigate reversed dates or invalid basis codes.
Does this work in older Excel versions?
ACCRINTM is supported from Excel 2003 onward on Windows and Excel 2011 on Mac. All modern Office 365 builds fully support the function. Older versions without it require manual calculations.
What about performance with large datasets?
ACCRINTM is lightweight. A worksheet with 50 000 rows recalculates almost instantly on modern hardware. For millions of rows, push data into Power Pivot or Power Query, then process in batches or with DAX’s ACCRINTM equivalent.
Conclusion
Calculating accrued interest at maturity is a bread-and-butter task for finance professionals. Excel’s ACCRINTM function streamlines the process, ensuring accuracy, speed, and auditability. By mastering its syntax, understanding day-count conventions, and integrating it with tables, dynamic arrays, and error handling, you can manage anything from a single T-bill to a complex bond portfolio with confidence. Keep practicing with your own datasets, explore alternative methods for exotic instruments, and soon this calculation will feel as natural as SUM or VLOOKUP—another essential building block in your expanding Excel toolkit.
Related Articles
How to Show the 10 Most Common Text Values in Excel
Learn multiple Excel methods to list the 10 most frequent text values—complete with step-by-step examples, business use cases, and expert tips.
How to Abbreviate Names Or Words in Excel
Learn multiple Excel methods to abbreviate names or words with step-by-step examples and practical applications.
How to Abbreviate State Names in Excel
Learn multiple Excel methods to abbreviate state names with step-by-step examples, professional tips, and real-world applications.