Trunc Function in Excel

There are two ways to “trunc function in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: use =TRUNC(number) — it chops off the decimals without rounding at all, so 9.99 returns 9 and -9.99 returns -9.

On this page8

Syntax

=TRUNC(number, [num_digits])

Arguments

Argumentrequired / optionalDescription
numberrequiredThe value to truncate.
num_digitsoptionalDecimal places to keep. Defaults to 0, which removes the fractional part entirely.

Related functions

INTROUNDDOWNROUND
▤Annotated stepsExcel
1

Select the target cell and type =TRUNC(.

2

Select the number, date-time or calculation to truncate.

3

Optionally add a comma and the decimals to keep; omit it to strip the fraction entirely.

4

Press Enter. When truncating a date-time, format the result as a date so it reads properly.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

TRUNC removes digits rather than rounding them: it simply cuts the number at the requested precision and discards the rest. Because the cut is toward zero, negatives keep their integer part unchanged — TRUNC(-9.99) is -9, whereas INT(-9.99) is -10. That difference is the whole reason both functions exist. The second argument is optional and defaults to 0; supply 2 to keep cents without rounding them, or a negative value to strip digits to the left of the decimal point. It is the honest choice when a fractional part is meaningless rather than approximate — a partial day, a partial licence, a partial person. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “trunc function in excel”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the outcome you expected before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

Splitting a timestamp in A2 into its parts, =TRUNC(A2) returns the date with the time removed, because Excel stores the time as the fractional half of the number. Reporting complete years of service, =TRUNC(7.92) returns 7. Keeping two decimals without rounding a rate up, =TRUNC(0.16789, 2) returns 0.16. TRUNC is the right tool when a fraction is not a rounding question but noise to be discarded — dates hiding a time, whole units, complete periods. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. For “trunc function in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

Common mistakes

  • Assuming TRUNC and INT agree — they differ on every negative number with a fractional part.
  • Truncating money in a model where the cents matter; TRUNC silently discards value rather than rounding it fairly.
  • Using TRUNC to remove a time from a date and then leaving the cell in General format, which shows the date serial number instead of the date.

Frequently asked questions

What is the difference between TRUNC and INT?

They agree on positive numbers. On negatives, TRUNC cuts toward zero (-9.99 to -9) while INT goes to the next lower integer (-9.99 to -10).

How do I remove the time from a date?

=TRUNC(A2) keeps the whole-number date part and drops the fractional time. Format the result as a date afterwards.

Is TRUNC the same as ROUNDDOWN?

Functionally very close. The practical difference is that TRUNC's second argument is optional and ROUNDDOWN's is required.