Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Excel rounding functions and when to use them

Compare ROUND, ROUNDUP, MROUND, CEILING, FLOOR, INT, and other Excel functions with examples for decimals, multiples, and negative numbers.

Table of Contents

Use ROUND for the nearest decimal place or whole number, MROUND for the nearest multiple, and ROUNDUP or ROUNDDOWN when the direction matters. If you only want to hide extra digits on screen, change the cell format to keep the original value available to formulas.

ROUND for decimal places and whole numbers

In =ROUND(number,num_digits), use a positive second argument for decimal places, 0 for whole numbers, or a negative value for positions to the left of the decimal point. For example, =ROUND(1234.5678,2) gives 1234.57 and =ROUND(1234.5678,-2) gives 1200.

How to use the rounding function in Excel simply and effectively Picture 1

How to use the rounding function in Excel simply and effectively Picture 2

MROUND for the nearest multiple

=MROUND(17,5) gives 15, while =MROUND(18,5) gives 20. Use it for increments such as five units or a quarter hour. Give the number and multiple the same sign to avoid a #NUM! error.

How to use the rounding function in Excel simply and effectively Picture 3

ROUNDUP and ROUNDDOWN for a fixed direction

=ROUNDUP(-12.34,1) gives −12.4 because it rounds away from zero. =ROUNDDOWN(-12.34,1) gives −12.3 because it rounds toward zero. Both functions accept the same num_digits argument as ROUND.

How to use the rounding function in Excel simply and effectively Picture 4

How to use the rounding function in Excel simply and effectively Picture 5

CEILING and FLOOR for multiples in one direction

For positive numbers, =CEILING(17,5) gives 20 and =FLOOR(17,5) gives 15. This is useful when you order in fixed packs or count how many complete packs a quantity fills. For formulas that must also handle negative values, consider CEILING.MATH and FLOOR.MATH and test the direction on a negative input.

How to use the rounding function in Excel simply and effectively Picture 6

EVEN and ODD for specific whole numbers

Both round away from zero to the next integer of the requested parity. =EVEN(3.1) gives 4, and =ODD(3.1) gives 5.

How to use the rounding function in Excel simply and effectively Picture 7

INT and TRUNC for removing fractional digits

INT rounds down to an integer, so =INT(-123.456) gives −124. TRUNC drops digits, so =TRUNC(-123.456) gives −123 and =TRUNC(-123.456,2) gives −123.45.

How to use the rounding function in Excel simply and effectively Picture 8

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.