• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
Excel

How to separate the number before and after the comma in Excel

0 Comments

Working with Excel spreadsheets, you often use it to calculate averages, percentages, etc. of numbers. The result returned will include the integer and the decimal part. Excel currently does not have a dedicated tool to separate the number before and after the comma. However, you can use available tools to calculate separate the integer and decimal parts. Read the following article to learn how to do it.

1. Get the number before the comma

Method 1: Use the TRUNC function

To separate the number before the comma, you just need to use the TRUNC function. This function will help you remove the digits after the comma, apply the following formula:
=TRUNC (number,[num_digits])

Where:

  • TRUNC: a function used to round a number to an integer by removing its decimal part.
  • Number: the original number before separating.
  • Num_digits: a number that determines the precision of the cut. The default value of num_digits is 0 (none).

In the example below, we will remove the decimal part after the comma of the original numbers -12.52 and 12.52. Then you just need to enter as follows: =TRUNC (A2).

The result returned will be -12 as shown below. To use for the cell below, just drag the mouse down to the bottom and it’s done.

How to separate the number before and after the comma in Excel

How to separate the number before and after the comma in Excel

 

Method 2: Use the INT function

In addition, you can use the INT function to separate the number before the comma. Apply the formula =INT (A2) as shown below:

How to separate the number before and after the comma in Excel

How to separate the number before and after the comma in Excel

 

Then the result returned will be -13. Because the INT function rounds down to the nearest integer based on the value of the fractional part of that number. While the TRUNC function takes the integer part by removing its fractional part. Therefore, when the original number is negative, the result returned by these two functions will be different.

2. Get the number after the comma

The process is very simple after you get the number before the comma. To do this, you just need to subtract the result of the TRUNC function that you have calculated from the original number.
To make the steps faster, you can apply the following formula:

=original number – TRUNC(original number)

Applying it to the following example, you will get the corresponding result as shown below:

How to separate the number before and after the comma in Excel, did you know?

How to separate the number before and after the comma in Excel, did you know?

In case you want the result returned to be a positive number, you can use the ABS function. To get the absolute value, use the formula =ABS (original number – TRUNC (original number)). The following example will illustrate it more clearly for readers.

How to separate the number before and after the comma in Excel

How to separate the number before and after the comma in Excel

The article above provides you with two methods to separate the integer and decimal parts of a number in Excel. Apply it flexibly to suit your needs.

Rate this post
49
301 Views
Detailed Guide on How to Print PowerPoint for New UsersPrevDetailed Guide on How to Print PowerPoint for New UsersMarch 8, 2023
How to fix Circular Reference errors in ExcelMarch 8, 2023How to fix Circular Reference errors in ExcelNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Avast Premium Security 2021 10 Devices 1 Year Global Avast Premium Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $28.00
  • Avast Ultimate Suite 2021 3 Years 10 Devices Global Avast Ultimate Suite 2021 3 Years 10 Devices Global
    Rated 5.00 out of 5
    $90.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • Kaspersky Internet Security 2021 1 year 1 device key Global Kaspersky Internet Security 2021 1 year 1 device key Global
    Rated 5.00 out of 5
    $24.00
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
Products
  • Microsoft Office Professional Plus 2010 retail Microsoft Office Professional Plus 2010 retail Key Global - 5 PC
    Rated 4.96 out of 5
    $15.00
  • Windows Server 2016 Standard Key Global Windows Server 2016 Standard Key Global
    Rated 4.80 out of 5
    $10.00
  • Windows 11 Pro Product Activation Key Windows 11 Pro Product Activation Key
    Rated 5.00 out of 5
    $6.00
  • Office 2016 Home and Student for PC Key CD Key Global Office 2016 Home and Student for PC Key CD Key Global
    Rated 4.96 out of 5
    $14.00
  • Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL
    Rated 5.00 out of 5
    $17.00
  • Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year
    Rated 5.00 out of 5
    $201.00
  • Kaspersky Premium - 1 Device 1 Year - GLOBAL Kaspersky Premium - 1 Device 1 Year - GLOBAL $37.00
  • Kaspersky Internet Security 2021 1 year 1 device key Global Kaspersky Internet Security 2021 1 year 1 device key Global
    Rated 5.00 out of 5
    $24.00
  • Microsoft Visio Standard 2016 Key 1PC Microsoft Visio Standard 2016 Key 1PC $9.00
  • Windows Server 2012 Remote Desktop Services 50 USER Connections Key Global Windows Server 2012 Remote Desktop Services 50 USER Connections Key Global
    Rated 4.69 out of 5
    $25.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.