# How to Create Formula for If Time is Greater Than in Google Sheets

To create a formula for if time is greater than a specific time in Google Sheets, you can use the IF function in combination with the TIME function. Here's a step-by-step guide on how to do this:

- Open your Google Sheets document or create a new one.
- Click on the cell where you want to display the result of the formula.
- Type the formula using the following structure:
`=IF(A1>TIME(hour,minute,second), "True", "False")`

- Replace
`A1`

with the cell containing the time you want to compare. - Replace
`hour`

,`minute`

, and`second`

with the specific time values you want to compare the time against. - Replace
`True`

with the value you want the formula to return if the time is greater than the specified time. - Replace
`False`

with the value you want the formula to return if the time is not greater than the specified time.

- Replace
- Press Enter to apply the formula.

## Example

Let's say we have a list of times in column A and we want to check if each time is greater than 2:30 PM (14:30). We will use the IF and TIME functions to create the formula.

- In column B, click on the cell corresponding to the first time value (for example, B1).
- Type the formula:
`=IF(A1>TIME(14,30,0), "Yes", "No")`

- Press Enter to apply the formula.
- Click on the cell where you just entered the formula (B1), then hover your cursor over the bottom-right corner of the cell until a small blue square appears.
- Click and drag the blue square down to fill the formula for the rest of the time values in column A.

The formula will now display "Yes" for any time greater than 2:30 PM (14:30) and "No" for any time not greater than 2:30 PM (14:30).

Did you find this useful?