Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to quickly add hours/minutes/second to date and time in Excel?

For instance, you have a list of dates and times in a worksheet, and now you want to add the same hours/minutes/seconds to these cells which are mixed with date and time. You can use formulas to solve this task, but here I can tell you another trick to quickly attain this goal in Excel.


Using formulas to add hours/minutes/seconds to datetime

In Excel, generally, you may use the formulas to add hours, minutes or seconds to the datetime cells.

1. Select the cell next to the first cell of the datetime list, and then type this formula =A2+1/24 into it, press Enter key and drag the auto fill handle over the cell needed this formula. See screenshots.

doc add hour minute second 2
doc add hour minute second 3

2. Then right click to select Format Cells from the context menu. And in the Format Cells dialog, under Number tab, select Custom from the Category list, then type m/d/yyyy hh:mm:ss into the Type textbox. See screenshots:

doc add hour minute second 4doc add hour minute second 5

3. Click OK. Then you can see each date and time cell is added one hour.
doc add hour minute second 6

Notes:

1. If you want to add one minute to cell, use this formula:=A2+1/1440, if you want to add one second to cell, use this formula: =A2+1/86400.

2. In above formulas, 1 indicates to add one hour or one minute or one second, you can change it as you need.

3. If you want to add hours, minutes and second to a date simultaneously, you can use this formula =A2+TIME(23,23,34), this means to add 23 hours, 23 minutes and 34 seconds to a date cell. But with this formula, you cannot add time over 24 hours.

Remove Time From DateTime

In Excel, to remove 12:11:31 from 1/21/2017 12:11:31 and make it exactly 1/21/2017, you may have to take some time to create a formula to handle this job. However, the Remove time from date utility of Kutools for Excel can quickly remove timestamp permanently from the date time formatting in Excel. Click to download 30-day free trial.

doc-convert-date-unix-1

Using a handy tool to add hours/minutes/seconds to datetime

With above method is very easy, but here I can introduce another easier way to you, do you want to have a try?

To free install Kutools for Excel, you can go to the Formulas group to quickly find the formulas to add hours, minutes or seconds without remembering.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select a cell to put the adding result, and click Kutools > Formulas > Add hours to date. See screenshot:
doc add time 1

2. In the Formula Helper dialog, select the datetime cell to the Date Time box, then type the number of hours you want to add in the Number box. See screenshot:doc add hour minute second 8

3. Click Ok, then drag the autofill handle over cells needed the formula, see screenshot:
doc add hour minute second 9

4. Then right click to select Format Cells from the context menu, and in the Format Cells dialog, under Number tab, select Custom from the Category list, then type m/d/yyyy hh:mm:ss into the Type textbox. See screenshots:

doc add hour minute second 10 doc add hour minute second 11

5. Click OK. Now each cell has been added hours.
doc add hour minute second 12

Tip:

To add years/months/weeks/days/minutes or seconds, you can find the relative formulas form the Formulas group.
doc add time 2



Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Corey · 3 months ago
    I know this is an old thread, but this doesn't work for me using KuTools. Does the original data have to be in a certain format? I've tried both general and custom (mm-dd-yyyy hh:mm:ss). Any help would be greatly appreciated!
  • To post as a guest, your comment is unpublished.
    Pats · 6 months ago
    This is really helpful. Thanks a lot! :-)
  • To post as a guest, your comment is unpublished.
    sreesha · 11 months ago
    Thank you very much for this.
  • To post as a guest, your comment is unpublished.
    anonymous · 1 years ago
    it works well, thanks...
  • To post as a guest, your comment is unpublished.
    your name · 1 years ago
    looks nice, but not working, what version of excel are you presenting?
  • To post as a guest, your comment is unpublished.
    VIKAS · 2 years ago
    NICE IT WORKS THANK U
  • To post as a guest, your comment is unpublished.
    Mehran · 2 years ago
    this add in does not even work. I tried the exact example above and I just get errors.
    • To post as a guest, your comment is unpublished.
      Sunny · 2 years ago
      Could you give me a specific example?
    • To post as a guest, your comment is unpublished.
      Sunny · 2 years ago
      Thank u for ur remind.! I have corrected it. Thanks again.
  • To post as a guest, your comment is unpublished.
    PaulR · 3 years ago
    86,400, as in seconds per day. Thus 1/86400, not 72000.

    Please correct
    • To post as a guest, your comment is unpublished.
      Sunny · 2 years ago
      Thank u for ur kind remind, I have corrected it, thanks again.