Skip to main content

How to separate whole number (integer) from decimal in Excel?

For a list of numbers which consist of whole number (integer) part and decimal part, you may need to separate them to different columns as below screenshot shown.

In this article, we will show you details of separating whole number and decimal in Excel.

Separate whole number from decimal in Excel
Separate whole number from decimal with Kutools for Excel


Separate whole number from decimal in Excel

To separate whole number from decimal in Excel, please do as follows.

1. Select a blank cell such as B2, enter this formula =TRUNC(A2) into it and then press the Enter key.

2. Select the result cell, and then drag the Fill Handle down to get all whole numbers from specified cells. See screenshot:

After getting the whole number of the list, you can also get the decimal numbers as follows.

3. Select cell C2, enter this formula =A2-C2 into it and then press the Enter key.
Tips, If you just want to extract the decimal number, please apply this formula =A2-TRUNC(A2).

4. Drag the Fill Handle down to get the other decimal numbers of the list. See screenshot:

Then the whole numbers and decimal are separated from the list.


Separate whole number from decimal with Extract Text utility of Kutools for Excel

If you don’t want to remember the formulas, here we introduce the Extract Text utility of Kutools for Excel. With this utility, you can easily separate whole numbers from decimal in Excel.

Before applying Kutools for Excel, please download and install it firstly.

1. Select the range with numbers you want to separate whole numbers from decimal, then click Kutools > Text > Extract Text

2. In the Extract Text dialog box, type *. Into the Text box, click the Add button to add the rule to the Extract list, and finally click the OK button.

3. Then a dialog box pops up, select the cell for locating the separated whole numbers, and then click the OK button.

Now all whole numbers are separated from the decimals immediately. See screenshot:

  If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Separate whole number from decimal with Kutools for Excel


Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (7)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Thank you for guiding.
Rated 5 out of 5
This comment was minimized by the moderator on the site
"Tips, If you just want to extract the decimal number, please apply this formula =A2-TRUNC(A2)."

Thank you! I needed these.
This comment was minimized by the moderator on the site
Thanks for the post. It was useful to get me into the simple formulas I needed
This comment was minimized by the moderator on the site
Gracias. Me sirvió bastante. Que bueno que haya gente como ustedes 😢.
This comment was minimized by the moderator on the site
The section at the beginning is bad excel advice because it only works on positive numbers. INT works by rounding DOWN to the nearest integer. So if you had 1.3, and used INT on it, you'd get 1, which is what you want. But if you had -1.3 and used INT on it, you'd get -2, which is NOT what you want.

If you want to separate the integer from the decimal, should use TRUNC instead of INT. If you used TRUNC on 1.3 you'd get 1. And if you used TRUNC on -1.3, you'd get -1. Then you can do as per the original instructions and subtract the integer form the original number to get the separated decimal.
This comment was minimized by the moderator on the site
Hi Paterson,Thank you for your reminder and sharing. The post has been updated. Really appreciate.
This comment was minimized by the moderator on the site
Thank you for these instructions!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations