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.
Excel Productivity Tools
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial
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!