Math & trig function

FLOOR.MATH function

Rounds a number down to the nearest integer or multiple of significance, with control over negative numbers.

Available in Excel 2013 and later, Microsoft 365, Excel for the web, Excel for Mac 2016 and later

Excel 2013 and laterWorks in Google Sheets

Syntax

FLOOR.MATH(number, [significance], [mode])
ArgumentWhat it means
numberRequiredThe value to round down.
significanceOptionalThe multiple to round to. Default 1. Its sign is ignored.
modeOptionalOnly for negative numbers: 0 or omitted rounds away from zero (−7.2 → −8), any other value rounds toward zero (−7.2 → −7).

Returns: The number rounded down to the previous multiple of significance.

How FLOOR.MATH works

FLOOR.MATH rounds a value down to a step. Without a significance it returns the next lower whole number; with one it returns the previous multiple, which is ideal for bands and brackets: commission per full 50 of sales, age groups of 10 years, price tiers, or time slots that start every 30 minutes.

By default negative numbers are rounded down toward minus infinity: −7.2 with significance 0.5 becomes −7.5. Set mode to 1 to round negative numbers toward zero instead (−7.0). The sign of the significance is ignored, so mixed signs never cause errors as they can with the older FLOOR.

For rounding up use CEILING.MATH; to round to the nearest multiple use MROUND; to cut decimals use ROUNDDOWN or TRUNC.

Examples

1Whole hours worked

C2fx=FLOOR.MATH(B2)
ABC
1ItemValue
2Hours on job4.874
3Monthly sales1347
4Stock adjustment-7.2
5Customer age37

Result: 4

4.87 rounds down to 4.

2Commission per full 50 of sales

C3fx=FLOOR.MATH(B3, 50)
ABC
1ItemValue
2Hours on job4.87
3Monthly sales13471,300
4Stock adjustment-7.2
5Customer age37

Result: 1,300

Only complete blocks of 50 count, so 1,347 becomes 1,300.

3Negative numbers: default versus mode 1

C4fx=FLOOR.MATH(B4, 0.5)
ABC
1ItemValue
2Hours on job4.87
3Monthly sales1347
4Stock adjustment-7.2-7.5
5Customer age37

Result: -7.5

Down means toward minus infinity, so −7.2 becomes −7.5. =FLOOR.MATH(B4, 0.5, 1) returns −7.

4Age bands of ten years

C5fx=FLOOR.MATH(B5, 10)&"-"&FLOOR.MATH(B5, 10)+9
ABC
1ItemValue
2Hours on job4.87
3Monthly sales1347
4Stock adjustment-7.2
5Customer age3730-39

Result: 30-39

37 falls in the band that starts at 30, so the label reads 30-39. Use it as a helper column for a PivotTable or COUNTIF.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 17 KB

Common errors and how to fix them

ErrorWhy it happensFix
#VALUE!A non-numeric argument.Check the inputs.
#NAME?Excel 2010 or older.Use FLOOR.PRECISE or FLOOR.

Tips

  • Start of the 30-minute slot for a time: =FLOOR.MATH(A2, "0:30").
  • Significance 0 returns 0.
  • For positive numbers =FLOOR.MATH(x) equals INT.

Questions

FLOOR.MATH or FLOOR?

FLOOR.MATH: it accepts any combination of signs and has the mode option. Old FLOOR returns #NUM! for a positive number with a negative significance.

How do I round down to the nearest 5?

=FLOOR.MATH(B2, 5).

Google Sheets

FLOOR.MATH also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

FLOOR.MATH in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DanishAFRUND.BUND.MAT
DutchAFRONDEN.BENEDEN.WISK
FinnishPYÖRISTÄ.KERR.ALAS.MATEMAATTINEN
FrenchPLANCHER.MATH
GermanUNTERGRENZE.MATHEMATIK
HungarianPADLÓ.MAT
ItalianARROTONDA.DIFETTO.MAT
Norwegian (Bokmål)AVRUND.GJELDENDE.MULTIPLUM.NED.MATEMATISK
PolishZAOKR.W.DÓŁ.MATEMATYCZNE
Portuguese (Brazil)ARREDMULTB.MAT
Portuguese (Portugal)ARRED.DEFEITO.MAT
RussianОКРВНИЗ.МАТ
SpanishMULTIPLO.INFERIOR.MAT
SwedishRUNDA.NER.MATEMATISKT
TurkishTABANAYUVARLA.MATEMATİK