How to add or subtract hours from a date/time field in Excel?
This article aims to show you methods of adding or subtracting hours from a date/time field in Excel. Please do as follows.
Add or subtract hours from a date/time field with formulas Add or subtract hours from a date/time field with Kutools for Excel Add or subtract hours from a date/time field with formulas
You can apply the following formulas to add or subtract hours from a date/time field in Excel.
Add hours to a date/time field
If you want to add 12 hours to a date/time field as below screenshot, you can apply the following formula.
1. Select a blank cell says cell C2, enter formula
=A2+12/24 into the formula bar, and then press the Enter key. Note: In the formula, A2 contains the date/time field, 12 is the hours you need to add to the date/time field. You can change them based on your need.
Then you will get the final date and time after adding certain hours to a date/time field.
Subtract hours from a date/time field
For subtracting 12 hours from a date/time field, you can apply this formula
=A2-12/24. See screenshot: Add or subtract hours from a date/time field with Kutools for Excel
Here recommend the
Add hours to date utility of Kutools for Excel. This feature helps to easily add or subtract hours from a date/time with clicks only.
Kutools for Excel, please . download and install it firstly
1. Select a blank cell for locating the result, then click
Kutools > Formula Helper > Formula Helper. See screenshot:
2. In the
Formulas Helper dialog box, you need to: In the Choose a formula box, select Add hours to date. Tips: You can check the Filter box, type in the keyword to filter the certian formula as you need. In the Date Time box, select the cell containing the date time you will add or subtract hours from. In the Number box, enter the number of hours you want to add or substract. Tips: For subtracting hours, please enter a negative number into the Number box. Click the OK button.
Now the result is populated into the selected cell, please change the cell format to date and time format as you need.
If you want to have a free trial ( 30-day) of this utility,
, and then go to apply the operation according above steps. please click to download it Related articles: The Best Office Productivity Tools Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80% Quickly insert Reuse: and anything that you have used before; complex formulas, charts 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. 60-day money back guarantee. Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier , Publisher, Access, Visio and Project. Enable tabbed editing and reading in Word, Excel, PowerPoint 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!