# Round a number

=ROUND(number,digits)

To round a number up or down to the nearest specified digit, you can use the ROUND function with a specified number of digits. In the example shown, the formula in cell D6, copied down, is:

=ROUND(B6,C6)

The ROUND function rounds a number to a given number of places. The number of places is set by the number of digits provided in the second argument (*num_digits*). For example, the formulas below round the number 5.86 to 1 and zero places:

In the example shown, we are rounding the values in column B (which are created with the PI function) using the numbers in column B for digits. The formula in cell D6 is

=ROUND(B6,C6)

This tells Excel to take the value in B6 (PI) and round it to the number of digits in cell C6 (4) with a result of 3.1416

In the table, the ROUND function is used to round the same number (PI) to a decreasing number of digits, starting at 4 and moving down past zero to -1. Notice that digits greater than zero round to the right of the decimal point, and digits less than or equal to zero round to the left.

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.

## Download 200+ Excel Shortcuts

Get over 200 Excel shortcuts for Windows and Mac in one handy PDF.