How to Convert a Decimal to a Whole Number in Excel (10 Methods)

Dataset Overview

We’ll use a dataset containing the information on the top 10 T20 batsmen based on average.  The dataset has columns for Rank, Player, Team, and Average.

How to Convert Decimal to Whole Number in Excel


Method 1 – ROUND Function

The Round function rounds a number up or down, depending on the specified number of digits and whether the number is positive or negative.

  • Enter the following formula in a cell to round a decimal number to the nearest whole number:
=ROUND(E5,0)

Apply ROUND Function

  • Press ENTER. 

  • If the number is positive, it rounds down; if negative, it rounds up.
  • Autofill the rest of the cells.

How to Convert Decimal to Whole Number in Excel


Method 2 – INT Function

The INT function rounds down to the nearest whole number.

  • Enter the following formula in a cell and press ENTER:
=INT(E5)

Adopt INT Function

  • Autofill the remaining cells.

 How to Convert Decimal to Whole Number in Excel


Method 3 – TRUNC Function

TRUNC removes decimal places without rounding.

  • Select cell B5 and insert the following formula:
=TRUNC(E5,0)

 How to Convert Decimal to Whole Number in Excel

  • Press ENTER

  • Apply the formula to other cells using the Fill Handle.

 How to Convert Decimal to Whole Number in Excel


Method 4 – MROUND Function

MROUND rounds to a specified number of decimal places.

  • Apply the formula written below to the selected cell:
=MROUND(E5,1)

  • Press ENTER.

 How to Convert Decimal to Whole Number in Excel

  • Autofill the rest.


Method 5 – FLOOR Function

FLOOR returns the smallest integer less than or equal to a given number.

  • Choose a cell and enter the following formula:
    =FLOOR(E5,1)

  • Press ENTER.

 How to Convert Decimal to Whole Number in Excel

  • Autofill the remaining cells.

 How to Convert Decimal to Whole Number in Excel


Method 6 – CEILING Function

CEILING rounds up to the nearest integer multiple of a specified value.

  • Select a cell and write the following formula:
=CEILING(E5,1)

 How to Convert Decimal to Whole Number in Excel

  • Press ENTER.

  • AutoFill the rests.

 How to Convert Decimal to Whole Number in Excel


Method 7 – Decrease Decimal Command

  • Select cells with decimal numbers.
  • Go to Home, select the Number group and click on Decrease Decimal.
  • The numbers will be converted.

 How to Convert Decimal to Whole Number in Excel


Method 8 – Built-in Number Format

  • Select cells.
  • Go to Home, select Number Format and click on More Number Formats…

How to Convert Decimal to Whole Number in Excel

  • In the Format Cells wizard, choose Number and set decimal places to 0.
  • Press OK.

How to Convert Decimal to Whole Number in Excel


Method 9 – EVEN Function

Produces even numbers.

  • Select a cell and input the following formula:
=EVEN(E5)

  • Press ENTER.

How to Convert Decimal to Whole Number in Excel

  • AutoFill the rest cells.

How to Convert Decimal to Whole Number in Excel


Method 10 – ODD Function

Converts to the next higher odd number.

  • Select a cell and insert the following formula.
=ODD(E5)

How to Convert Decimal to Whole Number in Excel

  • Press ENTER.

  • AutoFill the formula to the other cells.

How to Convert Decimal to Whole Number in Excel


Practice Section

We have supplied a practice section, so that you can gain more experience with these methods.

For Practice


Download Practice Workbook

You can download the practice workbook from here:


Related Articles


<< Go Back to Number Format | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Naimul Hasan Arif
Naimul Hasan Arif

Naimul Hasan Arif, a BUET graduate in Naval Architecture and Marine Engineering, has been contributing to the ExcelDemy project for nearly two years. Currently serving as an Excel and VBA Content Developer, Arif has written more than 120 articles and has also provided user support through comments His expertise lies in Microsoft Office Suite, VBA and he thrives on learning new aspects of data analysis. Arif's dedication to the ExcelDemy project is reflected in his consistent contributions and... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo