Log in  \/ 
x
or
x
x
Register  \/ 
x

or

Excel calculate date and time: Add, subtract date time, time difference, age calculation

This tutorial introduces a powerful and helpful calculator which can solve almost 90% date and time calculations you probably use in Excel. It is the Date & Time Helper which is the one of features in Kutools for Excel.

What it can do are:

Add or Subtract date and time

Calculate the difference between two dates or two times and return a specified format

Calculate the Age based on a given date and return to year, month, day or year month day

Applying the Date & Time Helper feature by clicking Kutools > Formula Helper > Date & Time Helper.

shot date time helper 1   arrow right  shot date time helper 2
Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

Add or Subtract date and time

If you want to add or subtract year, month or days, or hours, minutes or seconds to a date time, you can use the first and second options in the Date & Time Helper dialog.

1. Select a cell which you want to place the calculation result at, then click Kutools > Formula Helper > Date & Time Helper to enable the Date & Time Helper dialog.

2. In the Date & Time Helper dialog, check Add or Subtract option in the Type section.
shot date time helper 3

3. Then in the Arguments input section, enter a date manually or click shot range to select a date to calculate in the text box of Enter a date or select a date formatting cell.
shot date time helper 4 shot date time helper 5

4. Under Enter numbers or select cells which contain values you want to add (subtract), you can directly enter the numbers of year, month, week, day or hour, minute or seconds you want to add or subtract into the related textboxes, or you can select cells which contain the numbers you want to use to fill.

You can preview the formula and result in the Result section.
shot date time helper 6

5. Click OK. Then the calculated result has been displayed. And then you can drag the auto fill handle down to the cells for applying the formula.

Add Date (2 years, 3 months, 12 weeks and 40 days)
shot date time helper 7

Add date time (Add 3 days 3 hours 30 minutes and 15 seconds)
shot date time helper 8

Subtract datetime (4 weeks 1 hour)
shot date time helper 9 shot date time helper 10


Calculate the difference between two dates or two times and return a specified format

If you want to get the difference between two dates or two times, you can use the Difference option in the Date & Time Helper dialog.

1. Select a cell which you want to place the calculation result at, then click Kutools > Formula Helper > Date & Time Helper to enable the Date & Time Helper dialog.

2. In the Date & Time Helper dialog, check Difference option in the Type section.
shot date time helper 11

3. Then in the Arguments input section, enter dates manually or click shot range to select dates to calculate in the text box of Date1 and Date2.
shot date time helper 12

4. Under Output result type, you can choose the format you want the result display as from the drop-down list.
shot date time helper 14

You can preview the formula and calculation result in the Result section.
shot date time helper 15

Note: if you want to ignore the blank values, check Ignore (do not display) 0 values checkbox.

5. Click OK. Then the calculated result has been displayed. And then you can drag auto fill handle down to the cells for applying the formula.
shot date time helper 16


Calculate the Age based on a given date and return to year, month, day or year month day

If you want to calculate the current age based on the birthday or a given date, you can choose the Age option.

1. Select a cell which you want to place the calculation result at, then click Kutools > Formula Helper > Date & Time Helper to enable the Date & Time Helper dialog.

2. In the Date & Time Helper dialog, check Age option in the Type section.
shot date time helper 17

3. Then in the Arguments input section, do as below:

1) Enter a date manually or click shot range to select a date to calculate in the text box of Date of Birth.

2) Check the end date as you need, if you want to calculate the current age, check Today, if you want to calculate the age on a specified date, check Specified date and then select the date cell.

3) Specify the result type as you need.
shot date time helper 18

You can preview the formula and calculation result in the Result section.
shot date time helper 19

4. Click OK. Then the calculated result has been displayed. And then you can drag the auto fill handle down to the cells for applying the formula.
shot date time helper 20

Note:The Date & Time Helper supports Undo.



Productivity Tools Recommended
The following tools can greatly save your time and money, which one is right for you?
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: More than 300 Advanced Functions for Excel 2019, 2016, 2013, 2010, 2007 and Office 365.
Classic Menu for Office: Bring back familiar menus to Office 2007, 2010, 2013, 2016, 2019 and 365, as if it were Office 2000 and 2003.

Kutools for Excel

The functionality described above is just one of 300 powerful functions of Kutools for Excel.

Designed for Excel(Office) 2019, 2016, 2013, 2010, 2007 and Office 365. Free download and use for 60 days.

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.