Skip to main content
SheetHub Docs
Formulas & Functions6 min read

Excel ROUND Function: MROUND, CEILING & FLOOR Guide

Master the Excel ROUND function with MROUND, CEILING, and FLOOR. Round decimals, times, and currency accurately with practical examples.

SheetHub6 min
A price list that shows 19.999 instead of 20.00, or a timesheet total of 7.983 hours that should read 8.00 hours, turns a clean report into something you have to explain to a manager. The Excel ROUND function fixes the displayed value and the underlying number at the same time, which is where it beats simple number formatting. This guide covers how to use the Excel ROUND function family, including ROUNDUP, ROUNDDOWN, MROUND, CEILING, and FLOOR, with step-by-step implementation patterns and practical troubleshooting for real spreadsheets. The key difference is that formatting only changes how a cell looks while the stored value stays the same. If you then SUM or VLOOKUP that cell, the full precision carries into the result. Rounding with a function changes the value itself. Choose the function when the calculation depends on the rounded number, not just the display. For the display-only path, see the Excel custom number formats guide.

What the Excel ROUND function family does

Each function in the family rounds a number based on a count of digits, but they differ in how they treat the remainder. ROUND uses the standard rule of rounding half away from zero, ROUNDUP always rounds away from zero, and ROUNDDOWN always rounds toward zero.

Syntax

=ROUND(number, num_digits)
=ROUNDUP(number, num_digits)
=ROUNDDOWN(number, num_digits)
=MROUND(number, multiple)
=CEILING(number, significance)
=FLOOR(number, significance)
  • number: The value you want to round.
  • num_digits: The number of decimal places, or a negative number to round left of the decimal point.
  • multiple / significance: The value to which each result is rounded, such as 0.05, 0.5, or 5.
The negative num_digits argument is the part most people miss. ROUND(1234.567, -2) returns 1200, because it rounds to the nearest hundreds place. ROUND, MROUND, CEILING, and FLOOR are available in every modern Excel version, including Excel 2021 and Microsoft 365. There is no legacy version restriction here, unlike dynamic array functions. For precision issues that arise from storing many decimals, the Excel floating point errors guide explains the underlying binary storage quirks.

Pattern 1: Round currency to two decimals

A finance workbook lists unit prices with three or more decimals coming from a rate table. Before you sum an invoice, each line should be rounded to two decimals so the total matches the printed amounts.
=ROUND(B2*C2, 2)

How this works:

  1. B2 holds the unit price and C2 the quantity.
  2. The product is rounded to two decimal places.
  3. The rounded line total is then safe to sum without leftover fractions.
If you want the total itself to be rounded after summing rather than each line, round at the end:
=ROUND(SUM(D2:D10), 2)
Rounding each line first is the better choice when individual lines are quoted to customers. Use ROUNDUP for tax or margin lines where the business always rounds in its favor:
=ROUNDUP(B2*C2, 2)

Pattern 2: Round time to the nearest quarter hour

Timesheet rounding rules are a classic use case. A 7.983 hour shift should bill as 8.00 hours when the policy is to round to the nearest quarter hour.
=MROUND(D2, "0:15")

How this works:

  1. D2 contains the elapsed time as a decimal fraction of a day, such as 7.983.
  2. MROUND rounds to the nearest 15-minute mark.
  3. The result is a time value, so format the cell as a time.
MROUND handles decimals directly, so the same idea rounds a stock quantity to the nearest 5 units:
=MROUND(D2, 5)
Note that MROUND rounds half away from zero, matching ROUND. When the rounding rule is always up, such as rounding a shipping fee to the next whole dollar, use CEILING:
=CEILING(D2, 1)
When the rule is always down, such as counting full boxes only, use FLOOR:
=FLOOR(D2, 1)
For a custom rounding rule that needs a condition, a LAMBDA can bundle the logic into a reusable formula. The Excel LAMBDA function guide shows how to wrap MROUND into a named function.

Pattern 3: Round negative numbers correctly

Negative numbers trip up rounding, because ROUNDUP and ROUNDDOWN behave differently in sign than many people expect. ROUNDUP rounds away from zero, so ROUNDUP(-2.141, 2) returns -2.15. ROUNDDOWN rounds toward zero, so ROUNDDOWN(-2.149, 2) returns -2.14.
=ROUNDUP(-2.141, 2)
For a worksheet that tracks refunds or adjustments, choose the direction deliberately for each column. A fee column that always rounds away from zero might be a ROUNDUP, while a discount column that always rounds toward zero might be a ROUNDDOWN.

Troubleshooting and common errors

Error / SymptomRoot CausePractical Fix
Rounded total does not equal sum of rounded linesFloating point storage of fractionsRound inside the calculation or use a consistent rounding point for both lines and total
#VALUE! on MROUNDText stored in the number cellConvert the cell to a number with VALUE() or clean the data
ROUNDUP gives an unexpected negative resultConfusion about rounding direction for negativesTest on a small negative sample before applying to a column
Results still show too many decimalsThe cell uses the default number formatApply a number format with the 0.00 pattern to the result column
CEILING or FLOOR returns #NUM!A negative significance with a negative numberUse a positive significance or switch to CEILING.MATH and FLOOR.MATH
Extra decimals that keep showing after a function returns are a format issue, not a rounding issue. The value may be correctly rounded but still display 19.999 because the cell format has not been set. Pair the rounding function with a number format to make the display match.

Practical tips

  • Round at the right layer. Decide whether lines or the total must match the printed values, then round at that layer consistently.
  • Keep the source data unrounded in a hidden or reference column so the precision is never lost permanently.
  • Format the result column as currency or a custom decimal pattern, not just the default.
  • Use the MATH variants, CEILING.MATH and FLOOR.MATH, for negative-number and multiple-signature flexibility.
  • Test the direction with a small negative sample for ROUNDUP and ROUNDDOWN before tagging a whole column.

Summary

The Excel ROUND function family solves the mismatch between what a report shows and what it calculates. ROUND rounds half away from zero, ROUNDUP and ROUNDDOWN set the direction for your business rule, and MROUND, CEILING, and FLOOR round to a custom multiple for time, quantity, or currency logic. Pick the layer to round at, pair each result with a proper number format, and keep raw precision in a reference column so the source data stays intact.

Recommended Next Reading

All Articles

Share this tutorial

Discussion & Community

Share questions, tips, or edge-cases about this spreadsheet formula.

Recommended Next Reading

All Articles