• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microsoft Excel Tips and Tricks - Computergaga

  • Home
  • Excel Online Courses
  • Excel Functions List
  • Free Downloads
  • Blog
  • Tutorials
  • About
Home / Formulas / How to use the TRUNC Function in Excel

How to use the TRUNC Function in Excel

The TRUNC function in Excel is used to reduce the number of decimal places on a number without rounding.

Excel provides a few different rounding functions such as ROUND, ROUNDDOWN and CEILING to cater for all your rounding needs. However the beauty of the TRUNC function is that you can set the number of decimal points for a number without rounding.

Truncating numbers in this way will affect the number and therefore impact on calculations that rely on this number. Using the Excel formatting tools to reduce the number of decimal places is another alternative that does not affect the number involved.

Using the TRUNC Function in Excel

The syntax for the TRUNC function is;

=TRUNC(number, num_digits)

Number – The value to be truncated.

Num_digits – The number of decimal places to be used. This is optional and if omitted is set to 0 removing all decimal places.

The image below shows an example of the TRUNC function being used

TRUNC function example reducing a value to two decimal places

Other Rounding Functions

The ROUND function
The CEILING Function
The FLOOR Function

Related Posts:

  • Return non-adjacent columns FILTER function thumbnail
    Non-Adjacent Columns with FILTER Function
  • Moving average in Excel thumbnail
    Moving Average in Excel
  • Live currency exchange rate in Excel thumbnail
    LIVE Currency Exchange Rate in Excel
  • Copy a formula down in Excel
    How to Copy a Formula Down in Excel

Reader Interactions

Comments

  1. Gemson Travis Pasamante says

    13 January 2021 at 2:37 am

    thank you now i can answer my exam

    Reply
    • Alan Murray says

      16 January 2021 at 10:16 pm

      Excellent!

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Excel SWITCH Function – Nested IF Function Alternative
  • Sum Formulas Only in Excel
  • How to Calculate Age in Excel
  • Custom Sort in Excel
  • Case Sensitive Lookup with XLOOKUP in Excel
Advanced Excel Success book

Footer

Contact

[email protected]

LinkedIn Twitter YouTube

Useful Links

  • Home
  • Excel Online Courses
  • Tutorials
  • Sitemap
  • Privacy Policy
  • Jobs by Jooble

Course Topics

  • Blog
  • Charts
  • Courses
  • Dashboards
  • Downloads
  • Excel Tips
  • Formulas
  • Mail Merge
  • Office
  • PivotTables
  • Power BI
  • Power Pivot
  • Power Query
  • VBA

Join Our Mailing List

© Copyright 2009 Computergaga · All Rights Reserved ·