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
Using a handy tool 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.
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:
3. Click OK. Then you can see each date and time cell is added one hour.
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.
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:
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:
3. Click Ok, then drag the autofill handle over cells needed the formula, see screenshot:
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:
5. Click OK. Now each cell has been added hours.
To add years/months/weeks/days/minutes or seconds, you can find the relative formulas form the Formulas group.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 3 months agoI 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.· 6 months agoThis is really helpful. Thanks a lot! :-)
To post as a guest, your comment is unpublished.· 11 months agoThank you very much for this.
To post as a guest, your comment is unpublished.· 1 years agoit works well, thanks...
To post as a guest, your comment is unpublished.· 1 years agolooks nice, but not working, what version of excel are you presenting?
To post as a guest, your comment is unpublished.· 2 years agoNICE IT WORKS THANK U
To post as a guest, your comment is unpublished.· 2 years agothis 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.