• ChatGPT Business
  • 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.

  • ChatGPT Business
  • 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.

  • ChatGPT Business
  • 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.

  • ChatGPT Business
  • 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
45
286 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 Total Security 2021 1 year 5 devices key Global Kaspersky Total Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $46.00
  • 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
Products
  • Buy Microsoft Office Professional Plus 2019 CD Key Global - 5 PC Buy Microsoft Office Professional Plus 2019 CD Key Global - 5 PC
    Rated 4.95 out of 5
    $32.00
  • Microsoft Visio 2019 professional Key Global Bind to your Microsoft Account Microsoft Visio 2019 professional Key Global Bind to your Microsoft Account
    Rated 4.96 out of 5
    $12.00
  • Microsoft Visio Standard 2019 Key 1PC Microsoft Visio Standard 2019 Key 1PC $12.00
  • Microsoft Visio 2016 professional CD Key Global Microsoft Visio 2016 professional CD Key Global
    Rated 4.94 out of 5
    $28.50
  • 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
  • Windows 10 Home OEM Key Global Windows 10 Home OEM Key Global
    Rated 4.80 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
  • AVG Internet Security 2021 10 Devices 1 Year Global AVG Internet Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $30.00
  • Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • Avast Ultimate Suite 2021 2 Years 10 Devices Global Avast Ultimate Suite 2021 2 Years 10 Devices Global
    Rated 5.00 out of 5
    $77.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.