tech on the net

MS Excel: FLOOR Function (WS)

Learn how to use the Excel FLOOR function with syntax and examples.

Description

The Microsoft Excel FLOOR function returns a number rounded down based on a multiple of significance.

Syntax

The syntax for the Microsoft Excel FLOOR function is:

FLOOR( number, significance )

Parameters or Arguments

number is the number that you wish to round down.

significance is the multiple of significance that you wish to round a number to.

Note

  • If the sign of the number and the significance parameters are different, the FLOOR function will return the #NUM! error.

Applies To

The FLOOR function can be used in the following versions of Microsoft Excel:

  • Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The FLOOR function can be used in Microsoft Excel as the following type of function:

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel FLOOR function examples and explore how you would use the FLOOR function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the spreadsheet above, the following Excel FLOOR examples would return:

=FLOOR(A1, 1) would return 169
=FLOOR(A1, 0.05) would return 169.65
=FLOOR(A2, 0.05) would return 169.6
=FLOOR(A3, 2) would return 2
=FLOOR(A4, 2) would return #NUM!
=FLOOR(-4.5, -1) would return -4