Convert decimal to whole number in Excel
Author: Sun Last Modified: 2019-06-25
This tutorial will tell you how to use formulas to convert decimal numbers to whole numbers in Excel.
Round decimal to whole number
Generic formula:
=ROUND(number,0) |
Arguments
|
Remarks
The decimal number will be rounded up if the first decimal digit >= 5, or it will be rounded down.
Examples
Formula | Description | Result |
=ROUND(12.722,0)) | Round 12.722 to whole number | 13 |
=ROUND(12.222,0) | Round 12.222 to whole number | 11 |
=ROUND(12.5,0) | Round 12.5 to whole number | 13 |
Round decimal up to whole number
Generic formula:
=ROUNDUP(number,0) |
Arguments
|
Remarks
The ROUNDUP function will round decimal numbers up to nearest whole number.
Examples
Formula | Description | Result |
=ROUNDUP(1.03,0) | Round 1.03 up to nearest whole number | 2 |
=ROUNDUP(1.92,0) | Round 1.92 up to nearest whole number | 2 |
Round decimal down to whole number
Generic formula:
=ROUNDDOWN(number,0) |
Arguments
|
Remarks
The ROUNDDOWN function will round decimal numbers down to nearest whole number.
Examples
Formula | Description | Result |
=ROUNDDOWN(123.234,0) | Round 123.234 down to whole number | 123 |
=ROUNDDOWN(123.662,0) | Round 123.662 down to whole number | 123 |
Sample File
Relative Functions
- Excel DECIMAL function
The DECIMAL function converts a text representation of a number in a base into its equivalent decimal number. Take a instance, 11 is a text representation of 3 in base 2, using the formula =DECIMAL(11,2) convert 11 into decimal number 3.
Relative Formulas
- Convert decimal number to ip address
If you have a string of decimal numbers such as 192168421 that you need to convert to an IP address as192.168.42.1, how can you quickly solve this job with an Excel formula? In this article, it will introduces formulas to handle this job. - Convert binary value to decimal/octal/hex
Provides some easy formulas to convert binary value to decimal number, octal value or hex value in Excel. - Convert decimal value to binary/octal/hex
This article introduces the formulas to convert decimal numbers to binary value, octal value or hex value in Excel - Convert hex value to decimal/binary/octal
This article introduces the formulas to convert hexadecimal numbers to decimal valie, binary value, or octal value in Excel
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...
Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.