fxExcelReps

← How-to guides

How to Round to the Nearest 5, 10 or 100 in Excel

For tens, hundreds and thousands use ROUND with a negative number of digits: =ROUND(A2, -2) rounds to the nearest 100. For any other step, like 5 or 0.05, use =MROUND(A2, 5). CEILING always rounds up and FLOOR always down.

{"cells": {"A1": "Number", "A2": "Nearest 100", "A3": "Nearest 5", "A4": "Nearest 0.05", "A5": "Up to the next 50", "A6": "Down to 1,000", "A7": "Whole number", "B1": 1237.46, "B2": "=ROUND(B1,-2)", "B3": "=MROUND(B1,5)", "B4": "=MROUND(B1,0.05)", "B5": "=CEILING(B1,50)", "B6": "=FLOOR(B1,1000)", "B7": "=ROUND(B1,0)"}, "focus": "B2", "note": "Type another number in B1."}

ROUND with negative digits

-1 is tens, -2 hundreds, -3 thousands.

=ROUND(A2, -1)1237.46 becomes 1240.
=ROUND(A2, -3)1237.46 becomes 1000.

MROUND for any step

Rounds to the nearest multiple of the step.

=MROUND(A2, 5)1235.
=MROUND(A2, 0.05)1237.45, cash rounding.
=MROUND(A2, "0:15")A time to the nearest quarter of an hour.

Always up or always down

Prices and billing often need a fixed direction.

=CEILING(A2, 50)Up to 1250.
=FLOOR(A2, 1000)Down to 1000.
=ROUNDUP(A2, 0)Up to a whole number: 1238.

Common mistakes

The display changes but the total doesn't
Formatting only hides decimals. Round the values with these functions if the total must match.
#NUM! from MROUND
The number and the step have different signs. Use a negative step for negative numbers.

Frequently asked questions

What's the difference between ROUND and MROUND?

ROUND works with decimal places (including negative ones); MROUND rounds to a multiple of any step.

How do I round to 2 decimal places?

=ROUND(A2, 2). See ROUND.

How do I round time to 15 minutes?

=MROUND(A2, "0:15"), or CEILING to round up for billing.

Practise it

ROUNDCEILING, FLOORROUNDUPROUNDDOWN

Think you know this?

15 formula tasks, no hints, with a leaderboard. Absolute, relative and mixed references included.

Take the Pro Challenge →

More how-to guides

How to Find the Top 5 Values in Excel

Find the largest 3, 5 or 10 values in Excel with LARGE, and return the names next to them with INDEX and MATCH, XLOOKUP or SORT.

How to Check If a Cell Is Blank in Excel

Test whether a cell is empty in Excel with IF and an empty string or ISBLANK, and leave a result blank until the inputs are filled in.

How to Make a Running Total in Excel

Create a running total (cumulative sum) in Excel with SUM and a mixed reference, so each row shows the total so far. Live example.

How to Calculate a Weighted Average in Excel

Calculate a weighted average in Excel with SUMPRODUCT divided by SUM, for interest rates, grades or prices, and why AVERAGE is wrong.