• 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
39
263 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 Avast Premium Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.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
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
  • AVG Internet Security 2021 10 Devices 2 Years Global AVG Internet Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $42.20
  • Trend Micro Maximum Security 3 Devices 1 Year key Global Trend Micro Maximum Security 3 Devices 1 Year key Global
    Rated 5.00 out of 5
    $15.00
Products
  • Windows 11 Home Key Global 2021 Windows 11 Home Key Global 2021
    Rated 5.00 out of 5
    $6.00
  • Office 2024 Home And Business For Mac/Pc Bind Office 2024 Home And Business For Mac/Pc Bind $99.00
  • Windows Server 2019 Essentials Key Global Windows Server 2019 Essentials Key Global
    Rated 4.71 out of 5
    $7.00
  • Windows Server 2025 Remote Desktop Services 50 User Connections Windows Server 2025 Remote Desktop Services 50 User Connections $25.00
  • Microsoft Visio Professional 2016 Key 1PC Microsoft Visio Professional 2016 Key 1PC $9.00
  • Microsoft Project Standard 2019 - 1 PC Microsoft Project Standard 2019 - 1 PC $12.00
  • Microsoft Visio 2019 Professional Key Global Microsoft Visio 2019 Professional Key Global - 5 PC
    Rated 4.93 out of 5
    $19.00
  • Kaspersky Plus - 1 Device 1 Year - GLOBAL Kaspersky Plus - 1 Device 1 Year - GLOBAL $23.00
  • 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 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.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.