Skip to main content

Kutools for Office β€” One Suite. Five Tools. Get More Done.

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

Author Siluvia Last modified

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.

A screenshot showing a list of numbers with whole and decimal parts in Excel

In this article, we will show you how to separate whole numbers and decimals 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:

A screenshot demonstrating the use of the TRUNC formula to extract whole numbers in Excel

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 part, please apply this formula =A2-TRUNC(A2).

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

A screenshot demonstrating the use of a formula to extract decimal parts in Excel

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.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

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

A screenshot showing the Extract Text utility of Kutools in Excel

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.

A screenshot of the Extract Text dialog box, adding the rule for extracting whole numbers

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

A screenshot of the dialog box to select a location for the separated whole numbers

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

A screenshot showing whole numbers successfully separated using Kutools

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now


Demo: Separate whole number from decimal with Kutools for Excel

Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

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
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

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...


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!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

Excel Word Outlook Tabs PowerPoint
  • All-in-one suite β€” Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license β€” set up in minutes (MSI-ready)
  • Works better together β€” streamlined productivity across Office apps
  • 30-day full-featured trial β€” no registration, no credit card
  • Best value β€” save vs buying individual add-in