﻿ MROUND function

# MROUND function

This article describes the formula syntax and usage of the MROUNDfunction in Microsoft Excel.

## Description

Returns a number rounded to the desired multiple.

## Syntax

MROUND(number, multiple)

The MROUND function syntax has the following arguments:

• Number    Required. The value to round.

• Multiple    Required. The multiple to which you want to round number.

## Remark

MROUND rounds up, away from zero, if the remainder of dividing number by multiple is greater than or equal to half the value of multiple.

## Example

The example may be easier to understand if you copy it to a blank worksheet.

How do I copy an example?

Important   Do not select the row or column headers.

Selecting an example from Help

2. Press CTRL+C.

3. In Excel, create a blank workbook or worksheet.

4. In the worksheet, select cell A1, and press CTRL+V.

Important   For the example to work properly, you must paste it into cell A1 of the worksheet.

5. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.

After you copy the example to a blank worksheet, you can adapt it to suit your needs.

 1 2 3 4 5
 A B Formula Description (Result) =MROUND(10, 3) Rounds 10 to a nearest multiple of 3 (9) =MROUND(-10, -3) Rounds -10 to a nearest multiple of -3 (-9) =MROUND(1.3, 0.2) Rounds 1.3 to a nearest multiple of 0.2 (1.4) =MROUND(5, -2) Returns an error, because -2 and 5 have different signs (#NUM!)

Applies To: Excel 2010, Excel Starter, Excel Online, SharePoint Online

﻿