HomeGoogle DocsSpreadsheetHow to Use the Floor Function in Google Sheets

How to Use the Floor Function in Google Sheets [Formula Examples]

Published on

Google Sheets Floor Function is similar to another function in it called MROUND. But there is one difference. The former rounds down a number to the nearest integer multiple of a specified significance but the latter rounds to the nearest integer multiple. I’ll explain here how to use the Floor Function in Google Sheets.

Syntax:

FLOOR(value, [factor])

Learn Formula Arguments:

Value: The “value” is the number that the formula rounds down.

Factor: The given “value” will be rounded based on the “factor” provided.

Before going to the example on how to use the Floor function in Google Sheets, know something more about Factor. Factors are those numbers that we can use to multiply together to get another number. For example;

2 x 7 = 14

In this example, 2 and 7 are factors of the number 14. With the following examples, I’m trying to shed some light on the usage of Floor function in Google Sheets.

Example of the Use of Floor Function in Google Sheets

You can see that the above syntax arguments – Value in column A and Factor in Column B – in the following example.

Google Sheets Floor Formulas

Instead of using the cell references in the Floor formula in Column C, you can use the formulas as below. For example, the formula in Cell C2 can be like this.

=floor(8,3)

Result: 6

This Floor formula rounds down number 8 to the nearest integer multiple (not decimal) of factor 3.

It would be like;

3*1=3
3*2=6
3*3=9

So when the formula rounds down number 8 to the integer multiple of 3, the value would be 6.

If it’s rounded up, then the value would be 9. To do this, there is another function called CEILING.

Things to remember!

1. The “factor” must be positive but the “value” can be positive or negative.

2. The “factor” may not be equal to 0.

3. If you check the syntax you can see that the “factor” is optional. If you omit the “factor” it would be considered as 1.

4. The “factor” can be decimal place values.

Practical Use of Floor Function in Google Sheets

Unlike Google Sheets ROUND functions, Floor function in Google Sheets offers more control over the rounding of decimal places.

Example:

=floor(22.97,0.15)

Result: = 22.95

That means you can get great control over the rounding of decimal places in Google Sheets using Floor.

Floor function can be useful to round down to a particular denomination of currency after currency conversion.

Further, you can use Floor function to round down the time and that applicable to hours, minutes and seconds.

Hope you could understand how to use Floor function in Google Sheets. Enjoy!

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

Running Total By Month in Excel

This tutorial demonstrates how to calculate the running total by month in a range...

SORT and SORTBY – Excel Vs Google Sheets

While Excel offers the SORT and SORTBY functions for sorting a table, Google Sheets...

Get Top N Values Using Excel’s FILTER Function

When using the FILTER function in Excel to extract the top N values, it's...

More like this

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

Interactive Random Task Assigner in Google Sheets

You have multiple tasks and multiple people. Here's a fun way to randomly assign...

Google Sheets Bar and Column Chart with Target Coloring

To color each data point in the column or bar chart according to the...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.