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])
Follow the steps below to use the FLOOR function in Google Sheets.
Suppose you have the value 4.67 in A1. Click on the cell where you want the result to appear (B1).
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.
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.
We hope that this article has helped you and given you a better understanding of how to use the CEILING function in Google Sheets. If you enjoyed this article, you might also like our articles on how to use the ceiling function in Google Sheets and how to add comments in Google Sheets.