How to Fix the Excel FLOOR Function Error for 15-Minute Time Intervals
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.

- 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 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.
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.
Click on the cell where you want the rounded time result to appear.
Type the formula =FLOOR(B2, TIME(0, 15, 0)) or =FLOOR.MATH(B2, TIME(0, 15, 0)) into the formula bar.
Press Enter to calculate the formula, then drag the fill handle down to apply it to the rest of your data.

Correct Non-Standard Quotation Marks
Formulas copied from other documents or web pages often contain curved "smart quotes" which Excel cannot process as valid syntax.
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. Open your workbook: Launch WPS Spreadsheet and open the document containing your time data.
- 2. Apply the formula: Select an empty cell and input =FLOOR(B2, TIME(0,15,0)) to round the time.
- 3. Format the result: Right-click the cell, select 'Format Cells,' and choose a Time format to display the result correctly.

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)).




