Autofill Time in Google Sheets: Step-by-Step Guide
In this article
To autofill time in Google Sheets, use the built-in autofill handle or enter time data with consistent formatting, then drag the fill handle down to extend the sequence. Google Sheets recognizes time patterns automatically when entered correctly, allowing for quick population of time intervals like hours, minutes, or custom increments.
Understanding Time Formatting in Google Sheets
Google Sheets treats time as a specific data type, separate from text or general numbers. For autofill to work correctly, time entries must be recognized as valid time values. This means entering time in a format that Google Sheets can parse, such as 9:00 AM, 14:30, or 3:45:30 PM. If time is entered as plain text (e.g., typing "nine o'clock"), Sheets will not recognize it as a time value and autofill will not function as expected.
Time formatting follows standard 12-hour or 24-hour clock conventions. You can verify that Sheets recognizes your input as time by selecting the cell and checking the format in the toolbar under Format > Number > Time. Correctly formatted cells align to the right by default, similar to numbers, while text entries align to the left.
How Autofill Detects Time Patterns
Google Sheets uses pattern recognition to determine how to extend a series when you drag the fill handle (a small blue square at the bottom-right corner of a selected cell). When you enter two or more time values in consecutive cells, Sheets analyzes the difference between them and applies that interval to subsequent cells.
For example:
- Enter
9:00 AMin cell A1 and10:00 AMin A2. Dragging the fill handle down will produce11:00 AM,12:00 PM, etc. - Enter
8:15 AMand8:30 AM— Sheets will autofill 15-minute increments. - Enter
6:00 PMand7:30 PM— Sheets detects a 90-minute interval and continues it.
The key is consistency: the time difference between the first two entries sets the pattern. If you enter only one time value and drag, Sheets will copy the same time repeatedly instead of incrementing it.
Step-by-Step: How to Autofill Time
- Enter the first time value in a cell (e.g.,
8:00 AMin cell A1). - Enter a second time value in the next cell below or to the right that reflects the desired interval (e.g.,
8:30 AMin A2). - Select both cells by clicking and dragging over them, or click A1 and Shift+click A2.
- Grab the fill handle — the small blue square in the bottom-right corner of the selection.
- Drag the fill handle down (or across) as far as needed to extend the time series.
- Release the mouse — Google Sheets will autofill the cells with time values following the established interval.
If you need a custom interval not based on hours or minutes (e.g., every 45 minutes), enter the first two values accordingly: 9:00 AM and 9:45 AM. Sheets will detect the 45-minute gap and continue it.
Handling Dates with Time
When working with timestamps (date and time together), the same autofill logic applies. Enter full datetime values like 10/5/2023 9:00 AM in two consecutive cells with a consistent interval, then drag to fill. Google Sheets will increment both the date and time as needed.
For example:
- A1:
10/1/2023 8:00 AM - A2:
10/1/2023 9:00 AM - Dragging down will produce
10/1/2023 10:00 AM, and so on, rolling over to the next day when necessary.
To format cells for datetime, right-click > Format cells > Number > Date time. This ensures proper recognition and alignment.
Common Autofill Problems and Fixes
Several issues can prevent time autofill from working as expected:
- Incorrect formatting: If time appears left-aligned, it's likely text. Re-enter in proper time format or use Format > Number > Time.
- Only one time value entered: Autofill copies the value instead of incrementing. Always enter at least two values to establish a pattern.
- Inconsistent intervals: If the first two times differ irregularly (e.g., 15 min then 30 min), Sheets may not detect a pattern and will copy instead.
- Manual override: Accidentally typing over autofilled cells breaks the sequence. Use a formula or copy-paste if manual edits are needed.
If autofill isn’t incrementing, double-check that both cells are formatted as time and that the interval is consistent. You can also clear formatting (Format > Clear formatting) and re-enter the values.
Using Formulas for Advanced Time Sequences
For more control over time sequences, use formulas instead of drag autofill. The SEQUENCE function combined with time arithmetic allows precise generation of time intervals.
Example: To generate 10 time entries starting at 8:00 AM with 30-minute intervals:
=ARRAYFORMULA(TIME(8,0,0) + SEQUENCE(10,1,0,30)/1440)
Explanation:
TIME(8,0,0)sets the start time to 8:00 AM.SEQUENCE(10,1,0,30)creates a column of 10 numbers starting at 0, incrementing by 30./1440converts minutes to Google Sheets' time format (1 day = 1, so 1 minute = 1/1440).
This method is useful for dynamic schedules, shift planning, or when drag-fill is impractical for large datasets.
Frequently Asked Questions
Can I autofill time in 15-minute increments?
Yes. Enter two times 15 minutes apart (e.g., 9:00 AM and 9:15 AM), select both, then drag the fill handle. Sheets will detect the interval and continue it automatically.
Why does autofill just copy the same time instead of increasing it?
This happens when only one time value is selected before dragging. Google Sheets needs at least two values to detect a pattern. Enter two times with a consistent interval and select both before dragging.
Can I autofill time across rows instead of down columns?
Yes. The autofill works horizontally as well. Enter your time values in consecutive cells in a row (e.g., A1 and B1), select both, then drag the fill handle to the right.
Does autofill work with AM/PM and 24-hour format?
Yes, both formats are supported. Sheets recognizes 13:00 as 1:00 PM and will increment correctly. Just ensure consistency — don’t mix formats in the same sequence.
How do I stop autofill from including weekends or holidays?
Standard autofill doesn’t skip days. For workday-only sequences, use the WORKDAY or WORKDAY.INTL function with time arithmetic, or manually adjust the filled range.
Can I autofill time in Google Sheets on mobile?
Yes, but with limitations. Open the sheet in the Google Sheets app, enter two time values, tap and hold the second cell’s bottom edge, then drag. The interface is less precise than desktop, but pattern-based autofill still works.