Contact

ROUNDUP Function in Microsoft Excel: Formula, Examples & Troubleshooting

Math Beginner Microsoft Excel

Learn the ROUNDUP formula in Microsoft Excel: round a number away from zero to a chosen precision, with reproducible examples, expected answers and compatibility cautions.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: Use ROUNDUP to round a number away from zero to a chosen precision. The example below supplies exact inputs and independently calculated expected results, so you can check your formula before replacing the demonstration values with real workbook data.

Verification: The function is covered by a vendor reference or its published formula catalogue. The worked outputs here are independently reasoned, not screenshots or native test results from Microsoft Excel. Check release-specific support and argument details in the referenced vendor help.

Availability and version history

  • Introduced: Introduction version not established by the official history reviewed.
  • Availability: Official help lists Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016.
  • Checked: October 14, 2026; official ROUNDUP reference. Documentation check, not a new native test; existing example-verification notes retain their scope.

Syntax and arguments

=ROUNDUP(number, num_digits)

Input value and decimal places. In formula syntax, square brackets mark optional arguments; do not type square brackets into an ordinary formula unless the particular function requires array notation. The separator shown is for the example locale and might change with spreadsheet settings.

When to use it: For truncation toward zero, use ROUNDDOWN.

Prepare the example inputs

The original two formulas use literal numeric inputs and can be entered in separate blank cells. Later examples specify additional source cells; keep their output formulas outside those ranges.

Worked example: exact formula and expected output

=ROUNDUP(-12.341,2)

Expected result: -12.35. Away from zero makes the negative magnitude larger (more negative).

  1. Select an unused output cell (for example H2 if the practice table occupies A1:F9).
  2. Enter the formula exactly as shown, including the opening equals sign and quoted text.
  3. Compare the displayed answer to the expected result, then inspect the source cells if it differs.

For a range formula, the row numbers include data rows only unless the example explicitly refers to headers. A result that looks plausible may still be wrong if it references the wrong column.

Second example: a different input

=ROUNDUP(12.301,1)

Expected result: 12.4. Any nonzero discarded decimal digit rounds the value upward in magnitude.

This second check uses the same function with a different input, helping you identify whether the first result was coincidental or caused by a shifted reference.

Precision is required and direction means away from zero

Excel requires both number and num_digits. Positive precision selects decimal places; zero selects whole numbers; negative precision selects positions to the left of the decimal point. This is a magnitude rule, so a negative input becomes more negative when a nonzero portion is discarded.

=ROUNDUP(12.5,0)
=ROUNDUP(-12.5,0)
=ROUNDUP(120,0)
=ROUNDUP(-121,-1)

Expected outputs are 13, −13, 120, −130. An input already at the selected precision is unchanged. ROUNDUP does not unconditionally add one to every number.

Advanced example: count containers with enough capacity

Put numeric item quantities 24, 25, 0 in H2:H4 and a positive pack capacity of 12 in J1. In I2 enter and fill down:

=ROUNDUP(H2/$J$1,0)

The expected counts are 2, 3, 0. Twenty-five items require a partial third container. By contrast, QUOTIENT would count only the two complete packs available from that quantity.

The interpretation assumes nonnegative quantities and a strictly positive capacity. A negative quantity is not a valid shipping instruction just because ROUNDUP can calculate a signed result. A zero capacity creates an invalid division before the rounding function is applied. Check these inputs independently rather than turning every error into zero containers.

When copying the formula, the absolute reference $J$1 retains the shared capacity while H2 advances by row. Test an exact multiple and a quantity one item above it; those two controls expose an accidental use of nearest rounding. For a mathematical ceiling on signed numbers, use the separately documented CEILING.MATH rules rather than assuming the two functions agree for negatives.

Important edge cases and a common mistake

Watch out: ROUNDUP(-12.341,2) is -12.35, not -12.34; unlike a mathematical ceiling.

For older workbooks, verify the specific release and locale against the availability section; current documentation does not establish an undocumented introduction date.

Troubleshooting in Microsoft Excel

Break a complex expression into helper cells and inspect the stored numeric inputs; a number-stored-as-text indicator can help identify an imported quantity that needs review. #NAME? suggests a misspelling or an unavailable new function. #VALUE! often indicates a wrong argument type; #SPILL! on array functions often means output cells are occupied.

If you get the wrong answer but no error, try these checks in order: (1) evaluate the simplified first example; (2) confirm the cell values and data types; (3) check the exact row and column boundaries; (4) verify quoted text, comparison operators and separators; (5) only then add more criteria or nested functions.

For a reproducible comparison with another spreadsheet product, use the same input values in both applications and record the installed version and locale. Different default matching behavior or handling of empty values can be a migration issue rather than a mathematical disagreement.

Moving this formula between spreadsheet programs

Excel generally uses commas in English-language help formulas; LibreOffice and Collabora Calc commonly use semicolons. An identically named function may still have different matching defaults, dynamic-array behavior or version support.

Related guides already published for this function: LibreOffice Calc | Apache OpenOffice Calc | Gnumeric | Calligra Sheets | PlanMaker 2026

If a comparison tool says Not researched here, that means we do not yet have a checked guide for that software. It does not mean the software lacks this function. See the 12-program comparison tool for a guide-coverage matrix.

Official reference and editorial verification

Evidence level: Direct function documentation reviewed October 14, 2026; example outputs verified by direct reasoning/arithmetic where applicable. No execution in Microsoft Excel was performed. Some platform-, language- and release-specific edge cases remain for native testing.