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
MID
Extracting a substring from the middle of text
Learn moreACOSH
Finding the inverse hyperbolic cosine for exponential or logarithmic analysis
Learn moreDSUM
Adding up values in a database column that match specific criteria
Learn moreADDRESS
Creating a cell reference as text by providing row and column numbers
Learn moreCOUPDAYS
Calculating the number of days in the coupon period containing the settlement date
Learn moreISNUMBER
Checking if a value is a number
Learn morePRODUCT
Multiplying a range of numbers for aggregate calculations
Learn moreSIGN
Determining the sign of a number for directional analysis
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.