• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

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
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

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
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

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
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
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
32
259 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
  • 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
  • Buy Windows 11 Professional MS Products CD Key Buy Windows 11 Professional MS Products CD Key
    Rated 5.00 out of 5
    $6.00
  • AVG Internet Security 2021 1 Device 1 Year Global AVG Internet Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • Buy Office 2021 Professional Plus Key Global For 5 PC Buy Office 2021 Professional Plus Key Global For 5 PC
    Rated 5.00 out of 5
    $68.00
  • Avast SecureLine VPN 2021 2 Years 5 Devices Global Avast SecureLine VPN 2021 2 Years 5 Devices Global
    Rated 5.00 out of 5
    $47.00
Products
  • Windows 10 Home Key Global Windows 10 Home Key Global
    Rated 4.81 out of 5
    $10.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
  • Avast Ultimate Suite 2021 1 Year 10 Devices Global Avast Ultimate Suite 2021 1 Year 10 Devices Global
    Rated 5.00 out of 5
    $54.00
  • Microsoft Office Home And Business 2016 For Mac Key Global Bind Microsoft Account Microsoft Office Home And Business 2016 For Mac Key Global Bind Microsoft Account
    Rated 4.92 out of 5
    $15.00
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 1 Year AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 1 Year
    Rated 4.91 out of 5
    $34.00
  • Windows Server 2019 Datacenter Key Global Windows Server 2019 Datacenter Key Global
    Rated 4.75 out of 5
    $7.00
  • Project Professional 2013 Microsoft Project Professional 2013 - 1 PC $9.00
  • Microsoft Visio Professional 2013 Key 1PC Microsoft Visio Professional 2013 Key 1PC $9.00
  • Avast Premium Security 2021 Avast Premium Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • Project Professional 2021 Microsoft Project Professional 2021 - 1 PC $13.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.