Table of Contents
The formula for “If Time is Greater Than” in Google Sheets is an analytical function that allows users to compare time values and return a specified result if one time value is greater than another. This formula is typically used in conditional formatting or data analysis to highlight or manipulate data based on time comparisons. It requires the use of logical operators and the TIME function to accurately evaluate the time values.
Google Sheets: Formula for “If Time is Greater Than”
You can use the following formula to create an IF statement that compares the time in a cell to some specific time in Google Sheets:
=IF(B2>TIME(0,5,0),"Slow","Fast")This particular formula checks the time in cell B2 and returns “Slow” if it is greater than 5 minutes or “Fast” if it is equal to or less than 5 minutes.
Note: The TIME function uses a format of TIME(hours, minutes, seconds).
The following example shows how to use this formula in practice.
Example: Formula for “If Time is Greater Than” in Google Sheets
Suppose we have the following dataset in Google Sheets that shows the one-mile run times of various athletes:

We can use the following formula to check the time in cell B2 and return “Slow” if it is greater than 5 minutes or “Fast” if it is equal to or less than 5 minutes:
=IF(B2>TIME(0,5,0),"Slow","Fast")We can type this formula into cell B2 and then click and drag it down to the remaining cells in column B:

For each athlete who has a time less than 5 minutes, the formula returns “Fast.”
For each athlete who has a time equal to or greater than 5 minutes, the formula returns “Slow.”
Note: You can find the complete documentation for the TIME function in Google Sheets .
Cite this article
stats writer (2024). What is the formula for “If Time is Greater Than” in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/what-is-the-formula-for-if-time-is-greater-than-in-google-sheets/
stats writer. "What is the formula for “If Time is Greater Than” in Google Sheets?." PSYCHOLOGICAL SCALES, 26 Jun. 2024, https://scales.arabpsychology.com/stats/what-is-the-formula-for-if-time-is-greater-than-in-google-sheets/.
stats writer. "What is the formula for “If Time is Greater Than” in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/what-is-the-formula-for-if-time-is-greater-than-in-google-sheets/.
stats writer (2024) 'What is the formula for “If Time is Greater Than” in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/what-is-the-formula-for-if-time-is-greater-than-in-google-sheets/.
[1] stats writer, "What is the formula for “If Time is Greater Than” in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. What is the formula for “If Time is Greater Than” in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
