Contact

FLOOR in Excel: Positive Multiples and a Signed-Input Documentation Warning

Math and Trigonometry Intermediate Microsoft Excel

Round positive quantities down to a chosen multiple with FLOOR, distinguish package totals from counts and understand the official negative-sign example conflict.

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

For a positive quantity and a positive step, FLOOR returns the largest multiple of that step that does not exceed the quantity. It is useful for counting complete batches, selecting a lower increment or separating an amount into complete units and a remainder. It changes the number used in later arithmetic; it is not merely a display format.

Signed-input warning: Microsoft’s current page gives conflicting guidance for negative values. Its prose describes movement farther below zero, but its explicit FLOOR(-2.5,-2) example reports −2, which is closer to zero. This guide preserves that published example as documentation, without treating it as an executed result or extending it into a universal sign rule. The original worked calculations use the coherent positive-number/positive-step contract. Official FLOOR reference

Syntax and required inputs

=FLOOR(number, significance)

number is the quantity to round. significance is the required multiple, not a decimal-place count. A significance of 5 means multiples of five; 0.25 means quarter units. Both arguments are required by the documented syntax.

For positive n and positive s, the independent mathematical model is:

result = s × floor(n/s)

Here lowercase floor denotes the mathematical integer-floor operation. For these positive inputs, it gives the same direction as discarding an incomplete positive batch. The model is not asserted for every signed combination accepted by the worksheet function.

Worked example: complete bundles

Enter 137 in A2 and 20 in B2. Suppose these are fictional inventory units and units per bundle. In C2 enter:

=FLOOR(A2,B2)

The independent expectation is 120 units. Since 137/20 = 6.85, there are six complete bundles, containing 6×20 = 120 units. Seven bundles would require 140 units, more than are available.

Two useful companion calculations are:

=FLOOR(A2,B2)/B2
=A2-FLOOR(A2,B2)

They give 6 bundles and 17 remaining units, respectively. The primary FLOOR result is a quantity, not a bundle count. Keeping those units explicit prevents confusing 120 units with 120 bundles.

Positive controls and documented errors

Formula Expected result Evidence
=FLOOR(17,5) 15 Independent multiple calculation
=FLOOR(20,5) 20 Already an exact multiple
=FLOOR(137,20) 120 Six complete twenty-unit bundles
=FLOOR(19,20) 0 No complete bundle
=FLOOR(7.31,0.25) 7.25 Lower quarter-unit multiple
=FLOOR(17,-5) #NUM! Explicit positive-number/negative-significance rule
=FLOOR("unknown",5) #VALUE! Explicit nonnumeric-input rule

The error expectations are documentation-derived. They were not obtained by running Excel. Avoid expanding the positive-number/negative-step rule into “all opposite signs are errors”: the cited remark is more specific than that. Microsoft’s error remarks

For the decimal control, 7.31 lies between the quarter-unit multiples 7.25 and 7.5, so the lower multiple is 7.25. This exact decimal reasoning does not guarantee identical behavior for values within floating-point noise of a boundary, huge ratios or tiny steps.

Practical case: combine stock before rounding?

Suppose two compatible stock pools contain 17 and 8 units, and bundles require 5 units. If each pool must be bundled separately:

=FLOOR(17,5)+FLOOR(8,5)

The expectation is 15 + 5 = 20 bundled units. There are five leftover units in total, split between pools. If the pools can be combined first:

=FLOOR(17+8,5)

The expectation is 25 bundled units, because the combined amount is exactly five bundles. The difference is a grouping decision: rounding does not generally commute with addition. Decide whether pooling is permitted before choosing the formula; neither expression is universally the correct business rule.

A negative number line distinguishes numerical direction from distance to zero. For −2.5, moving to −4 is farther from zero, while moving to −2 is closer. That is why the reference’s prose/example disagreement matters. It is an unresolved documentation inconsistency here, not evidence of an Excel engine defect.

For signed workflows, compare the documented contract of FLOOR.PRECISE rather than assuming it is a spelling alias for FLOOR. Preserve old formulas until their signed-input requirements are understood. This guide does not claim when historical Excel sign behavior changed or that all releases use one identical implementation.

ROUND concerns decimal places, and MROUND selects a nearest multiple rather than always a lower positive multiple. MOD can be useful when examining remainders, subject to its own signed-argument rules.

Availability and verification limits

The dedicated Microsoft page was checked on October 18, 2026. Its Applies To list includes Excel for Microsoft 365 on Windows and Mac, Excel 2024 on Windows and Mac, Excel 2021 on Windows and Mac, Excel 2019 and Excel 2016. The list documents product scope; it is not an introduction history or native execution record. The first introduction and last functioning build remain unknown. The current page still documents FLOOR and does not establish that it has been removed.

The original examples use independent rational arithmetic and explicitly identified documented errors. No Excel or substitute spreadsheet engine was run. Zero significance, unlisted coercions and a complete negative-sign matrix remain outside the established examples. The published negative-negative example is disclosed separately rather than silently repaired.