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
COUNTBLANK
Counting empty cells in a range for data gap analysis
Learn moreRATE
Calculating the interest rate for a loan or investment
Learn moreDEC2OCT
Converting a decimal number to octal format for specific numeral system requirements
Learn moreDSUM
Adding up values in a database column that match specific criteria
Learn moreDATEDIF
Calculating the difference between two dates in various units
Learn moreISOWEEKNUM
Finding the ISO week number of a date for standardized week numbering
Learn moreTODAY
Retrieving the current date that updates when the workbook recalculates
Learn moreWEEKNUM
Calculating the week number within a year for a given date
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.