Category: FUNCTION | Updated: 2026-11-22
How to Use the TRUNC Function in Google Sheets
Syntax
=TRUNC(value, [places])
- value: The number or cell reference to truncate.
- places (Optional): The number of decimal places to keep. Defaults to
0if omitted.
Example
Results of applying TRUNC to positive and negative numbers. Regardless of sign, it simply drops digits past the specified place.
| Original Number | Formula | Result | Explanation |
|---|---|---|---|
| 45.678 | =TRUNC(A2) |
45 | Drops decimal places when places is omitted |
| 45.678 | =TRUNC(A2, 1) |
45.6 | Drops digits from the second decimal place onward |
| -45.678 | =TRUNC(A4) |
-45 | Simply drops the fractional part even for negative numbers |
| 12345 | =TRUNC(A5, -2) |
12300 | Truncates the last two digits to 0 |
Common Errors and Notes
- Choosing Between TRUNC and INT: When you want to strictly strip the fractional part from a negative number (for example, turning
-45.678into-45), useTRUNCrather thanINT.
Frequently Asked Questions
Q. What happens if I omit the places argument in TRUNC?
A. Omitting places is equivalent to specifying "0", which truncates all decimal places and returns an integer.
Q. Can I specify a negative number of places in TRUNC?
A. Yes. For example, "=TRUNC(1234, -2)" truncates the tens place and below, returning "1200".