How to Use the FLOOR Function in Google Sheets (2024 Guide)

May 8, 2024

What Is the FLOOR Function in Google Sheets?

The FLOOR function in Google Sheets is used to round a number down to the nearest multiple of significance that you specify. It's quite useful for various mathematical, financial, or scheduling purposes where rounding down to a specific interval is needed.

The syntax of the FLOOR function is:

FLOOR(value, [factor])

• value: The number you want to round down.
• factor: The multiple to which you want to round the number. This argument is optional, and if omitted, it defaults to 1.

How to Use the FLOOR Function in Google Sheets

Follow the steps below to use the FLOOR function in Google Sheets.

1. Select a Cell

Suppose you have the value 4.67 in A1. Click on the cell where you want the result to appear (B1).

2. Enter the Formula

Type =FLOOR(A1) into the selected cell and press Enter.

The result should be 4, because 4.67 rounded down to the nearest integer is 4.

Now, suppose you want to round down the number 7.25 in A2 to the nearest 0.5.

Type =FLOOR(A2, 0.5) into the cell and press Enter. The result will be 7, because 7.25 rounded down to the nearest multiple of 0.5 is 7.

Note: If the value is negative, FLOOR will still round down, moving away from zero. For example, FLOOR(-3.14) will return -4.

Example

Suppose you're calculating hours worked and want to round down to the nearest quarter hour. If an employee worked 8.67 hours, you can round this down to the nearest quarter hour (0.25).

Type =FLOOR(8.67, 0.25) and press Enter.

The result will be 8.5, indicating the employee worked 8.5 hours when rounded down to the nearest quarter hour.

Tip: Remember, the FLOOR function rounds down, so if your result seems off, confirm you're not expecting it to round up. If you need to round up, consider using the CEILING function instead.