logo
search
Function Problems

How to Fix the Excel FLOOR Function Error for 15-Minute Time Intervals

Camila MilosovichCamila Milosovich Oct 10, 2026 868 views

Question details

The user is experiencing a formula error when using the FLOOR function to round time down to 15-minute intervals, which works on some installations but fails on others.

How to Fix the Excel FLOOR Function Error for 15-Minute Time Intervals
Product
Microsoft Excel
Device & OS
not provided
Scenario
Rounding time values down to specific 15-minute minute intervals using the FLOOR function.
Observed behavior
Excel throws an error before calculation, failing to recognize the formula syntax or text string on a specific installation despite working elsewhere.
Before you start

Before modifying your formulas, ensure that the cells containing the original time data are formatted correctly as Time or Custom (e.g., [h]:mm) in Excel, rather than plain text.

Solution 1Recommended

Use the TIME Function Instead of Text Strings

Replacing the text string "00:15" with the native TIME function ensures Excel correctly interprets the interval regardless of regional settings.

Excel can sometimes misinterpret time formatted as a text string (like "00:15") depending on the computer's regional date and time settings. Using the built-in TIME function standardizes the value.

1
Select the target cell

Click on the cell where you want the rounded time result to appear.

2
Enter the updated formula

Type the formula =FLOOR(B2, TIME(0, 15, 0)) or =FLOOR.MATH(B2, TIME(0, 15, 0)) into the formula bar.

3
Apply the calculation

Press Enter to calculate the formula, then drag the fill handle down to apply it to the rest of your data.

Use the TIME Function Instead of Text Strings
Regional Settings Bypass: The TIME function completely prevents errors caused by regional date and time format variations across different Excel installations.
Free Spreadsheet Alternative

Easily Calculate Time Intervals with WPS Spreadsheet

WPS Spreadsheet is a powerful, free alternative to Microsoft Excel. It fully supports standard functions like FLOOR and TIME, making it easy to calculate and format time intervals without syntax errors.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the document containing your time data.
  2. 2. Apply the formula: Select an empty cell and input =FLOOR(B2, TIME(0,15,0)) to round the time.
  3. 3. Format the result: Right-click the cell, select 'Format Cells,' and choose a Time format to display the result correctly.
Fully compatible with Microsoft Excel formulas and file formats (.xlsx).Built-in comprehensive function library for advanced date and time calculations.Lightweight software with a familiar, user-friendly interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does =FLOOR(B2,"00:15") work on one computer but not another?

This usually happens due to different regional settings in Windows, which dictate how text-based time strings are interpreted. It can also occur if one computer is using a different version of Excel or if smart quotes were accidentally introduced during a copy-paste action.

What is the difference between FLOOR and FLOOR.MATH?

FLOOR.MATH is a newer function that provides more control over rounding negative numbers and defaults to rounding towards zero. For basic positive time intervals, both functions will yield the exact same 15-minute rounding result.

How do I round time to the nearest 15 minutes instead of always rounding down?

To round to the nearest interval rather than strictly rounding down, use the MROUND function. The syntax would be =MROUND(B2, TIME(0,15,0)).