How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (2025)

Introduction to ROUND Function

Function Objective

The ROUND function is a powerful tool for rounding numbers based on a specified number of digits. Whether you need to round up or round down, this function has you covered.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (1)

Syntax

The syntax for the ROUND function is as follows:

=ROUND (number, num_digits)

Arguments Explanation

ArgumentsRequired/OptionalExplanation
numberrequiredThe value you want to round.
num_digitsrequiredThe number of decimal places to which you want to round the numeric argument.

Return Value

The ROUND function provides a rounded numerical value.

Note

  1. When the number of digits is between 1 and 4, the ROUND function rounds down. For 5 to 9 digits, it rounds up.
  2. To always round up, consider using the ROUNDUP function. Conversely, the ROUNDDOWN function always rounds down.
  3. The number of digits significantly affects the output. Let’s explore the different forms of rounding:
Number of DigitsForms of Rounding
>0Rounds to the decimal point
0Rounds to the nearest integer
<0Rounds to the nearest 10, 100, etc.

Dataset Overview

Here’s an overview of the dataset that we’ll use in our examples.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (2)

Example 1 – Positive Number of Digits

Suppose you have a dataset with unit prices, and you want to round them based on the number of digits. Let’s say the unit price is in cell C5, and the number of digits is in cell D5. Here’s how you can do it:

  • Select cell E5.
  • Enter the following formula:

=ROUND(C5,D5)

  • Press Enter. The result in cell E5 will be 89.6.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (3)

  • AutoFill the formula to the rest of the cells in column E.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (4)

Example 2 – Negative Number of Digits

When the number of digits is negative, the ROUND function rounds to the nearest multiple of 10, 100, etc. Repeat the same method as in Example 1.

=ROUND(C5,D5)

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (5)

Example 3 – Nearest Whole Number

For zero digits, the ROUND function rounds to the nearest whole number. Follow these steps:

  • Select cell D5.
  • Enter the formula:

=ROUND(C5,0)

  • Press Enter. The output in cell D5 will be 90.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (6)

  • AutoFill the formula to the rest of the cells in column D.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (7)

Example 4 – Rounding to Two Decimal Places

To round a number to two decimal places, enter the formula:

=ROUND(C5,2)

Where C5 is the number, and 2 represents the desired decimal places.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (8)

Example 5 – Specific Rounded Value

Suppose you need a specific rounded value, such as rounding to the nearest 0.99. Follow these steps:

  • Select cell D5.
  • Enter the formula:

=ROUND(C5,0)-0.01

Formula Breakdown

  • ROUND(C5,0) rounds to the 90.
  • After subtracting 01, you’ll get the desired number.
  • Press Enter and the result will be 89.99.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (9)

  • AutoFill the formula to the rest of the cells in column D.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (10)

Example 6 – Rounding Up to Nearest 10/100/1000

i. Round Up to the Nearest 10

To find the rounded number to the nearest multiple of 10, enter the following formula:

=ROUND(C5,-1)

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (11)

ii. Round Up to the Nearest 100

For rounding to the nearest multiple of 100, enter:

=ROUND(C5,-2)

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (12)

iii. Round Up to the Nearest 1000

To calculate the rounded number to the nearest 1000 (or a multiple of that), enter:

=ROUND(C5,-3)

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (13)

Example 7 – Rounding Time in Excel Using the ROUND Function

You can also apply the ROUND function to time values. Since Excel stores dates and times as serial numbers, the function calculates time as a serial number. To display the result as time, follow these steps:

i. Rounding to the Nearest Hour

A day has 24 hours, thus the formula will be:

=ROUND(D5*24,0)/24-INT(D5)

Here, the INT function subtracts the date portion.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (14)

  • Format the fraction values as shown in the screenshots below:

(Note: Images are for illustrative purposes only)

  • Select the cells from D5 to D9 and copy this range using the Ctrl + Ckeyboard shortcut. Paste the copied portion using the Ctrl + Psimultaneously.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (15)

  • Select the cells from E5 to E9 and press Ctrl + 1simultaneously.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (16)

  • A Format Cells dialog box will pop up.
  • From the Format Cells dialog box, select Number.
  • Under Category, select Custom and select h:mm as Type.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (17)

  • The fraction values have been formatted into h:mm format.

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (18)

ii Rounding to the Nearest 15 Minutes

Since a day has 96 intervals of 15 minutes each, enter:

=ROUND(C5*96,0)/96

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (19)

Example 8 – Rounding the Total of Two Numbers

Consider two numbers (e.g., price in June and price in July). To find the rounded total value, enter:

=ROUND(C5+D5,0)

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (20)

Example 9 – Rounding the Quotient of Two Numbers

For the quotient of two numbers, enter:

=ROUND(D5/C5,0)

How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (21)

Common Errors While Using ROUND Function

  • Remember that the #VALUE! error occurs when text is inserted as input.

Download Excel Workbook

You can download the practice workbook from here:

ROUND Function.xlsx

<< Go Back to Excel Functions | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
How to Use the ROUND Function in Excel (9 Examples) - ExcelDemy (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Greg O'Connell

Last Updated:

Views: 6081

Rating: 4.1 / 5 (42 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Greg O'Connell

Birthday: 1992-01-10

Address: Suite 517 2436 Jefferey Pass, Shanitaside, UT 27519

Phone: +2614651609714

Job: Education Developer

Hobby: Cooking, Gambling, Pottery, Shooting, Baseball, Singing, Snowboarding

Introduction: My name is Greg O'Connell, I am a delightful, colorful, talented, kind, lively, modern, tender person who loves writing and wants to share my knowledge and understanding with you.