
📎 This article includes 1 downloadable practice file ↓
In this article
TRUNC drops digits after a given point, moving towards zero. Unlike INT, TRUNC(−8.9) is −8.
Syntax
=TRUNC(number, [num_digits])
| Argument | What it means |
|---|---|
num_digits |
Digits to keep (0 if omitted). |
Examples
Example 1
=TRUNC(7.987, 2)
7.98
Example 2
=TRUNC(-8.9)
−8 (INT gives −9).
TRUNC in practice
Where you will use it
- Drop decimals without rounding
- Integer part of a value
- Truncate to 2 decimals for tax rules
Worked example
| Value | Formula | Result |
|---|---|---|
| 12.987 | =TRUNC(A2,2) | 12.98 |
| -4.6 | =TRUNC(A3,2) | -4.6 |
| 999.999 | =TRUNC(A4,2) | 999.99 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Expecting rounding | TRUNC cuts; ROUND rounds |
| Negatives vs INT | TRUNC(-4.6)=-4, INT(-4.6)=-5 |
Related functions
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.
📎 Practice files for this article
- 📗Practice workbook: Math & rounding24 tasks on realistic sales data — type your formula, the Check column turns green when it is right. Answers sheet included.⬇ XLSX · 35 KB
Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.
Atul (AJ) builds office-automation and local-first AI tools as Atulya AI, and works with Excel, SAP and Oracle EPM every day. He writes about the shortcuts, macros and automations that actually save time — plus the occasional wacky fact. Videos on YouTube: Lazy Automator AI (@LazyAutomatorAI).
More posts by Atul →Build this skill next
This page is a quick function reference. Use it for syntax, then practise the function in a broader workflow.
Stuck on a step? Ask a question and the AI answers using this article.