# Rounding numbers in Excel

Rounding in Excel refers to reducing the number of digits in a number to make it easier to work with. A common example is rounding a price to two decimal places. Rounding errors can cause havoc with your spreadsheets without you even realising it. A common mistake occurs when you change the display format of a number to show fewer digits after the decimal point and assume that the number has been rounded for use in other calculations. This lesson explains how rounding in Excel works, and shows you how to use the different rounding functions available in Excel.

## Rounding versus Formatting in Excel

As I've already mentioned, a very common mistake people make when creating Excel spreadsheets is to assume that using the formatting options in Excel to change how numbers display also causes those numbers to be rounding. Even seasoned Excel professionals get caught out by this one, and end up scratching their head while they try to figure out why their calculations don't work out as expected. To see what I mean, check out these examples.

- Imagine you have a spreadsheet with the following numbers which you format to only show two decimal places:
- Note how the third and fourth numbers
**look**different when rounded down to two decimal places. The reality is that both columns are the same - they just look different because of the formatting. Here's what happen when you multiple the numbers in each column by 100: - In the next example, there is no difference between the numbers in the second and fourth columns - even though the numbers in column three look different, the numbers being stored by Excel are the same. If you want Excel to see them differently, you will need to use one of the Rounding functions to round the numbers to the number of digits or decimal points you want to work with.

- If you're not sure how to round numbers, you can read more about it here:
- http://www.factmonster.com/math/numbers/rounding.html
- and in a little more detail here: http://math.about.com/od/arithmetic/a/Rounding.htm

## The ROUND function

The simplest way to round numbers is to use the ROUND function:

**=ROUND(number,num_digits)**

- The values in this function are as follows:
**number**is the number you want to round. This can be a number, a reference to a cell with a number in it, or the result of another calculation inside a cell.**num_digits**is the number of digits the number should be rounded to.

- You can use num_digits in several ways depending on the result you want:
- If
**num_digits is greater than zero**, the ROUND function will round your number to that many digits after the decimal point. - If
**num_digits is zero**, the ROUND function will round your number to the nearest integer (i.e. the nearest whole number) - If
**num_digits is less than zero**, the ROUND function will round the digits to the left.

- If
- The following example shows how ROUND can be used to round a number to two decimal points (column C in this example shows the formula used in column B):

- This example shows ROUND with a range of values for num_digits ranging from -2 to 2. Note how the negative numbers round the values to the nearest 1 (if set to 0), the nearest 10 (if set to -1), and the nearest hundred (if set to -2):
- You could also use the ROUND function inside another formula, as shown in this example. Note how the ROUND function is used to round the values in column A before completing the calculation, which is to multiply the rounded number by 10.

## Join our mailing list

## Our Comment Policy.

We welcome your comments and questions about this lesson. We don't welcome spam. Our readers get a lot of value out of the comments and answers on our lessons and spam hurts that experience. Our spam filter is pretty good at stopping bots from posting spam, and our admins are quick to delete spam that does get through. We know that bots don't read messages like this, but there are people out there who manually post spam. I repeat - we delete all spam, and if we see repeated posts from a given IP address, we'll block the IP address. So don't waste your time, or ours. One other point to note - **if you post a link in your comment, it will automatically be deleted.**

## Comments on this lesson

### Somethin not right to me

You is goin on bout this FOUND function at the end there but you is meanin ROUND right, eva sort it out man or make it like clearer you get me?

### Fixed

Phillip - thanks for pointing that out. I've fixed it now.

David

I am learning so much from this site. Thanks for posting all these essential lessons.