TRUNC Google Sheet Formula
Generate Google Sheet TRUNC Formulas in seconds
Interactive Formula Generator
Formula Generator
Create complex Google Sheets formulas with natural language. Simply describe what you want to calculate.
Upgrade to Sheet Alchemy Pro
Get advanced formulas, batch processing, and priority support
Input
Result
Your formula will be displayed here:
Your formula will appear here
Describe what you want to calculate and click Generate
Pro Features Available
Sheet Alchemy Pro includes additional advanced features to enhance your formula generation.
Advanced Formulas
Complex array formulas and dynamic ranges
Batch Processing
Generate multiple formulas at once
Unlimited History
Save and organize all your formulas
TRUNC Formula Syntax
Example Use Case
Truncating a number to a specified decimal place for precise trimming
Understanding the TRUNC Formula
The TRUNC function in Excel cuts a number to a specified number of decimal places, discarding the rest without rounding. It’s a precision tool for trimming numbers, similar to INT but with decimal flexibility, ideal for data cleanup or exact numeric cuts.
TRUNC(3.14159, 2) returns 3.14, chopping off 0.00159. It takes two arguments: the number and digits (defaulting to 0 if omitted), offering a straightforward way to shorten values—unlike ROUND, it never adjusts up or down based on value.
Why Use TRUNC?
TRUNC ensures exactness—think preparing data for display, financial calculations, or stripping excess decimals. Its no-rounding approach guarantees consistency, making it a reliable choice when you need raw truncation without bias.
Example with Sample Data
Number, Digits | Formula | Result |
---|---|---|
3.14159, 2 | =TRUNC(3.14159, 2) | 3.14 |
5.6789, 1 | =TRUNC(5.6789, 1) | 5.6 |
-2.345, 0 | =TRUNC(-2.345, 0) | -2 |
TRUNC slices precisely: 3.14159 to 3.14, -2.345 to -2. It’s a decimal chopper.
Explore More Google Sheet Formulas
TRUE
Returning the logical value TRUE for conditional formulas
Learn moreVARA
Estimating sample variance including text and logical values
Learn moreLEFT
Extracting characters from the start of a text string
Learn moreSUBSTITUTE
Replacing specific text with new text in a string
Learn moreASIN
Determining the angle (in radians) from a sine value for trigonometric problems
Learn moreLEN
Counting the length of a text string
Learn moreLN
Calculating the natural logarithm for growth or decay analysis
Learn moreVARPA
Calculating population variance including text and logical values
Learn moreUnlock the Full Power of Sheet Alchemy
Get access to all our formula generators, script generators, and conversion tools with a free Sheet Alchemy account.