# How to use the FLOOR function

**What is the FLOOR function?**

The FLOOR function rounds a number down, toward zero, to the nearest multiple of significance.

The function has been replaced by the FLOOR.PRECISE and FLOOR.MATH functions, although it still exists for compatibility with earlier Excel versions.

The FLOOR function may be removed in a future Excel version, use only for backwards compatibility in older software and workbooks.

**What is rounding a number?**

Rounding is a method to simplify a number by reducing its digits while keeping its approximate value close to the original value.

There are a few common ways to round:

- Round to a set number of decimal places, rounding 2.13579 to 2 decimal places gives 2.14.
- Round up or down to the nearest integer, rounding up 2.3 gives 3. Rounding down 2.3 gives 2.
- Round to a set increment, rounding to the nearest 10 rounds 17 to 20.
- Round to significant figures, rounding 2.333 to 3 significant figures gives 2.33.

When rounding, look at the first digit after where you want to round. If it's 5 or more, round up. If less than 5, round down. Rounding makes numbers cleaner and easier to work with in many everyday situations, however, they may also cause rounding errors like rounded values can compound errors. Rounding measurements and constants may reduces precision. It is better to round numbers after performing calculations than before.

**What is a decimal place?**

A decimal place refers to each position held by a digit in a number. The first decimal place is the tenths place (1/10), the second is the hundreds place (1/100) and so on.

**What is the nearest multiple of significance?**

The nearest multiple of significance means to the closest number that a value gets rounded to for a given level of precision. It is based on the number of significant figures or decimal places desired.

For a certain precision, it is the nearest multiple of a power of 10.

For 2 significant figs, nearest multiples are 10, 100, 1000, etc.

For 3 decimal places, nearest multiples are 0.001, 0.01, 0.1, 1, 10, etc.

Values get rounded to the closest multiple of significance at the desired precision. So if reporting to 2 significant figures, 4874 would round to 4900, since the nearest multiple of significance is 100 at that precision.

If reporting to 3 decimal places, 15.4732 would round to 15.473, since the nearest multiple is 0.001. This helps keep rounding consistent and at an appropriate level of precision when doing math calculations and measurements.

**What is an integer?**

An integer is a whole number that can be positive, negative, or zero, but not a fraction or decimal.

**What other Excel functions round numbers?**

ROUND | Rounds a number to a specified number of digits |

ROUNDUP | Rounds a number up, away from zero |

ROUNDDOWN | Rounds a number down, towards zero |

MROUND | Rounds a number to the nearest multiple of a specified value |

CEILING | Rounds a number up to its nearest multiple. |

ODD | Returns number rounded up to the nearest odd integer. |

EVEN | Rounds a number up to the nearest even whole number. |

FIXED | Rounds a number to the specified number of decimals, lets you ignore comma separators. |

FLOOR.PRECISE | Rounds a number down to the nearest integer or nearest multiple of significance. |

FLOOR.MATH | Rounds a number down to the nearest integer or to the nearest multiple of significance. |

## 1. FLOOR Function Syntax

FLOOR(*number*, *significance*)

## 2. FLOOR Function Arguments

number |
Required. The number you want to round. |

significance |
Required. The multiple to which you want to round. |

- A value is rounded down and adjusted toward zero if the number argument is positive.
- A value is rounded down and adjusted away from zero if the number argument is negative.
- No rounding occurs if number is an exact multiple of significance.

## 3. FLOOR Function Example

This example demonstrates how to round numbers using the FLOOR function. The first example shown in row three takes number 3.7 and calculates the nearest multiple of significance based argument *significance* which is specified to 2. The result is 2.

Formula in cell C3:

The second example uses a negative input value in the first argument *number* which is -2.5 and the *significance* argument which is specified to -2. The formula in cell C4 returns -2 which is the nearest multiple of significance of -2.

## 4. FLOOR Function not working

The FLOOR function returns:

- the #VALUE! error value if either argument is nonnumeric.
- the #NUM! error value if number is positive and significance is negative.

### Functions in 'Compatibility' category

The FLOOR function function is one of 21 functions in the 'Compatibility' category.

## How to comment

How to add a formula to your comment<code>Insert your formula here.</code>

Convert less than and larger than signsUse html character entities instead of less than and larger than signs.

< becomes < and > becomes >

How to add VBA code to your comment[vb 1="vbnet" language=","]

Put your VBA code here.

[/vb]

How to add a picture to your comment:Upload picture to postimage.org or imgur

Paste image link to your comment.

Contact OscarYou can contact me through this contact form