How to Add Hours, Minutes, or Seconds to Time in Google Sheets

Google Sheets offers several date and time functions, but when it comes to adding hours, minutes, or seconds to a time or date value, you don’t need any complex function. A few simple formulas will do the trick.

This post contains quick and easy methods to add hours, minutes, or seconds to a time or timestamp in Google Sheets.


Quick Summary: How to Add Hours, Minutes, or Seconds in Google Sheets
To add time in Google Sheets, use formulas that divide by the number of units in a day:

  • Add hours: =A1 + B1/24
  • Add minutes: =A1 + B1/1440
  • Add seconds: =A1 + B1/86400
    Format results as Time or Date time from the Format menu.

Add Hours, Minutes, or Seconds to Time in Google Sheets

Let’s begin with an example.

Note: In addition to the formulas, you may need to apply number formatting to the output cells. I’ll mention formatting tips wherever necessary.

1. How to Add Hours to Time in Google Sheets

Assume:

  • Cell A2 contains the time 10:25:00
  • Cell B2 contains the number 2 (hours to add)

The format in A2 can be either 24-hour or 12-hour; the formula works regardless.

Formula #1

=A2 + B2/24

This adds 2 hours to 10:25:00 and returns 12:25:00.

Formula #2: Apply to Entire Columns

To add hours across a column of values:

=ArrayFormula(IF(LEN(A2:A), A2:A + B2:B/24, ))

Formatting the Output

  • Select the output range (e.g., C2:C)
  • Go to Format > Number > Time
Formula example showing how to add hours to time and timestamp values in Google Sheets

Add Hours to a Timestamp (Date + Time)

Adding hours to a timestamp works the same way. But use Date Time formatting for clarity.

Example:

  • Cell A2: 23/03/2019 23:00:00
  • Cell B2: 3
  • Formula (in C2): =ArrayFormula(IF(LEN(A2:A), A2:A + B2:B/24, ))
  • Format the output column as Date Time:
    Format > Number > Date Time

Result: 24/03/2019 02:00:00

This shows that the completion time falls on the next day.

2. How to Add Minutes to Time in Google Sheets

To add minutes, divide the number of minutes by 1440 (since 1 day = 1440 minutes).

Example:

  • A2: 16:30:00
  • B2: 150 (minutes)

Formula #3

=A2 + B2/1440

Formula #4: Array Version

=ArrayFormula(IF(LEN(A2:A), A2:A + B2:B/1440, ))
Formula example showing how to add minutes to time and timestamp values in Google Sheets

Formatting

  • For time values: Format > Number > Time
  • For timestamps: Format > Number > Date Time

3. How to Add Seconds to Time in Google Sheets

To add seconds, divide by 86400 (1 day = 86400 seconds). It follows the same pattern as the examples above.

Example:

  • A2: 12:00:00
  • B2: 90 (seconds)

Formula:

=A2 + B2/86400

Or for arrays:

=ArrayFormula(IF(LEN(A2:A), A2:A + B2:B/86400, ))

Format the output depending on whether you’re working with time or timestamp values.

What if the Seconds Contain Milliseconds in Cell B2?

No changes are needed in the formula. If B2 contains a decimal like 90.15 (90 seconds and 150 milliseconds), it will still work.

To display milliseconds in the result:

  1. Select the result cell.
  2. Go to Format > Number > Custom number format.
  3. Enter: hh:mm:ss.000
  4. Click Apply.

This will show the output with milliseconds, like 12:01:30.150.

Summary Table

TaskFormulaDivide by
Add Hours=Time + Hours / 2424
Add Minutes=Time + Minutes / 14401440
Add Seconds=Time + Seconds / 8640086400

Additional Resources

Explore more time-related tutorials:

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Expert Prashanth KV is a Diamond Product Expert in Google Sheets, officially recognized by Google for his contributions to the Docs Editors Help Community and featured in the Google Product Experts Directory. Explore his blog to learn advanced formulas, automation tips, and problem-solving techniques to elevate your spreadsheet skills.

Calculate Trip Days by Month (Start, End, and Full Days) in Google Sheets

If you're managing business travel in Google Sheets, you may need to calculate how...

Mode of Comma-Separated Numbers in Excel (Dynamic Array)

There is no dedicated function in Excel to directly find the mode of comma-separated...

How to Find Mode of Comma-Separated Numbers in Google Sheets

Working with comma-separated numbers inside a single cell is a common scenario in Google...

How to Count Merged Cells in Google Sheets (and Get Their Size)

Sometimes, you may have blocks of merged cells in a column or row. But...

More like this

Calculate Trip Days by Month (Start, End, and Full Days) in Google Sheets

If you're managing business travel in Google Sheets, you may need to calculate how...

How to Find Mode of Comma-Separated Numbers in Google Sheets

Working with comma-separated numbers inside a single cell is a common scenario in Google...

How to Count Merged Cells in Google Sheets (and Get Their Size)

Sometimes, you may have blocks of merged cells in a column or row. But...

2 COMMENTS

  1. Hi Prashanth,

    Thank you for this information.

    I was wondering if you know of a way to automatically increment the time in a column that holds a date and time by adding 1 hour.

    Autofill doesn’t seem to work for this. Would you happen to know how I can accomplish this?

    Thank you in advance,

    David

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.