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 Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Top N Products and Top N Sellers in Google Sheets (Top N of Top N)

If you’ve ever wanted to compare which sellers contribute the most to your top-selling...

Use XLOOKUP in a Structured Table in Google Sheets (Single and Multiple Conditions)

This tutorial is for users who want to apply XLOOKUP inside a structured table...

Reset SCAN by Another Column in Google Sheets and Excel

Resetting SCAN function results based on values in another column is a topic of...

How to Get the Fastest Time for Each Person in Google Sheets

Whether you’re tracking race results, event times, or any other timed activities, finding the...

More like this

Top N Products and Top N Sellers in Google Sheets (Top N of Top N)

If you’ve ever wanted to compare which sellers contribute the most to your top-selling...

Use XLOOKUP in a Structured Table in Google Sheets (Single and Multiple Conditions)

This tutorial is for users who want to apply XLOOKUP inside a structured table...

How to Get the Fastest Time for Each Person in Google Sheets

Whether you’re tracking race results, event times, or any other timed activities, finding the...

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.