Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Google Sheets MROUND Function: Round to Multiples

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

MROUND rounds a number to the nearest multiple of a given factor. For example, =MROUND(23, 5) returns 25, and =MROUND(23, 10) returns 20. You need a Google account and a spreadsheet open in Google Sheets; no add-ons or special permissions are required. The function is available on desktop browsers and in the Google Sheets mobile app, though the formula entry experience differs slightly.

What You'll Need

  • A Google account signed in to Google Sheets (sheets.google.com or the mobile app).
  • A spreadsheet with at least one number to round, or you can type a test value.
  • Basic familiarity with entering formulas (starting with =).

Step-by-Step

  1. Open your spreadsheet at sheets.google.com or in the Google Sheets app. Menu labels can differ slightly by version, device, or region.
  2. Click an empty cell where you want the rounded result to appear.
  3. Type =MROUND( to start the formula. On mobile, tap the formula bar or the cell and use the keyboard's formula entry.
  4. Enter the number or cell reference you want to round. For example, type A2 if the value is in A2, or type a literal like 23.
  5. Type a comma , to separate arguments.
  6. Enter the multiple (the factor) you want to round to. For example, 5 to round to the nearest 5, or 0.25 to round to the nearest quarter.
  7. Close the parenthesis with ) and press Enter (or tap the checkmark on mobile). The cell shows the rounded result.
  8. To apply to a whole column, drag the fill handle (the small square at the bottom-right of the cell) down, or copy the formula and paste it into other cells. Relative references adjust automatically.
  9. To round to a multiple stored in another cell, reference it: =MROUND(A2, B2). This is useful when the factor changes per row.
  10. If you need to round up only, use CEILING; to round down only, use FLOOR. MROUND rounds to the nearest multiple, with .5 rounding away from zero.

Common Mistakes

  • Using a negative factor with a positive number. MROUND returns an error if the number and factor have different signs. For example, =MROUND(10, -3) returns #NUM!. Use the same sign for both, or use ABS to make the factor positive.
  • Forgetting that MROUND rounds half away from zero. =MROUND(2.5, 1) returns 3, not 2. If you need banker's rounding (round half to even), use a different approach such as ROUND with a custom formula.
  • Expecting MROUND to round to a set number of decimal places. MROUND rounds to a multiple, not to decimal places. To round to 2 decimal places, use ROUND(value, 2). To round to the nearest 0.01, use MROUND(value, 0.01).
  • Referencing a factor cell that is blank or zero. A zero factor causes a #DIV/0! error. Ensure the factor is a non-zero number.
  • Assuming MROUND works the same in all spreadsheet apps. Excel's MROUND behaves similarly, but some apps may not support it. In Google Sheets, it is native and works in both the web and mobile versions.

Tips

  • Use MROUND for pricing (round to nearest 0.05 or 0.99), time rounding (round minutes to nearest 15), or inventory (round to case quantities).
  • Combine with ARRAYFORMULA to apply MROUND to an entire range at once: =ARRAYFORMULA(MROUND(A2:A100, 5)).
  • To round to the nearest multiple but always up, use CEILING; always down, use FLOOR. MROUND is for nearest.
  • If you need to round to a multiple and then format with a specific number of decimals, apply number formatting to the cell (Format > Number) rather than changing the formula.
  • Test with a few values to confirm the rounding direction matches your expectation, especially at the .5 boundary.

Troubleshooting

  • #NUM! error: Check that the number and factor have the same sign. If one is negative, make both negative or use ABS on the factor.
  • #DIV/0! error: The factor is zero or blank. Provide a non-zero factor.
  • #NAME? error: The function name is misspelled or the spreadsheet locale uses a different function name. Ensure you typed MROUND correctly. In some locales, function names are translated.
  • Formula shows as text: The cell may be formatted as plain text. Change the format to Number or Automatic (Format > Number > Automatic) and re-enter the formula.
  • Unexpected rounding direction: Remember MROUND rounds to the nearest multiple, with .5 rounding away from zero. If you need a different rule, use CEILING, FLOOR, or ROUND.
  • Mobile app issues: If the formula bar is not visible, tap the cell and look for the formula input area. On some Android devices, you may need to tap the keyboard's formula button. If problems persist, try the web version.

Frequently Asked Questions

What does MROUND do in Google Sheets?

MROUND rounds a number to the nearest multiple of a specified factor. For example, =MROUND(23, 5) returns 25.

Can MROUND round to a negative multiple?

Yes, but the number and factor must have the same sign. =MROUND(-23, -5) returns -25. If signs differ, you get a #NUM! error.

How is MROUND different from ROUND?

ROUND rounds to a set number of decimal places, while MROUND rounds to a multiple. For instance, ROUND(23, -1) returns 20, but MROUND(23, 10) also returns 20; however, MROUND(23, 5) returns 25, which ROUND cannot do directly.

Does MROUND work with time values?

Yes. Since times are stored as fractions of a day, you can round to the nearest 15 minutes with =MROUND(A2, "0:15") or =MROUND(A2, 15/1440).

Why does MROUND return #NUM!?

This happens when the number and factor have opposite signs. Make both positive or both negative.

Is MROUND available in the mobile app?

Yes, the Google Sheets mobile app supports MROUND. The formula entry may differ slightly, but the function works the same.