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.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
To separate whole number from decimal in Excel, please do as follows.
1. Select a blank cell such as B2, copy and paste formula =INT(A2) into the formula bar, and then press the Enter key.
2. When getting the whole number in selected cell, drag the Fill Handle down to the range you need to get all whole numbers from the referenced list. See screenshot:
After getting the whole number of the list, you can also get the decimal numbers.
3. Select cell C2, copy and paste formula =A2 - INT(A2) into the Formula Bar and press the Enter key.
4. Drag the Fill Handle down to the range you need to get all decimal of the list. See screenshot:
Then the whole numbers and decimal are separated from the list.
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.
|Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.|
1. Select the range with numbers you want to separate whole numbers from decimal, then click Kutools > Text > Extract Text. See screenshot:
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:
Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 60 days. Download the free trial now!