Even the smartest people we know struggle with adding and subtracting time. With Excel, this task has been made easy through the use of the TIME function. Here’s how.

*Figure 1. How to add time in Excel*

**Setting up the Data**

- Create a table with Before, Add Time and After as headers. Enter the examples as shown in the table below. The Before time is 10:00:00 AM for all examples for us to have a simple and fixed reference.

*Figure 2. Sample Data for adding time in Excel*

- Select cells B4:B8 and D4:D8
- Press
**Ctrl**+**1**to show the**Format Cells**dialog box - Select the Custom format
**h:mm:ss AM/PM**

* Figure 3. Setting the preferred time format *

**What is TIME Function in Excel?**

Time function is a built-in function in Excel that returns the decimal value of a particular time. It is very useful when adding time because it allows compartmentalization of time into hours, minutes and seconds.

**Syntax**

`=`

**Time(hour, minute, second)**

When using this formula, we need to enter the time in this specific order : hours, minutes and then seconds.

**Add Time in Excel using the TIME Function**

We want to add the time in column C to the “Before” time in Column B.

In cell D4, enter the formula:

**=B4+TIME(1,0,0)**

This formula adds 1 hour, 0 minutes and 0 seconds to 10:00:00 AM. The result is 11:00:00 AM.

* Figure 4. Entering the formula to add time in Excel*

Through the TIME formula, it is very easy to add time in Excel. Just follow the syntax and input the three arguments accordingly. For the succeeding examples, add the TIME in hours, minutes and seconds as specified in column C.

The table below shows the corresponding formula and results.

* Figure 5. Output: Using the TIME function to add time in Excel*

**Subtract Time in Excel using the TIME Function**

Subtracting time is similar to adding time; the only difference is that the mathematical operation used is Subtraction and not Addition.

For the purpose of comparison, let us reverse the process and use the After data in the previous example as the Before data in this exercise.

* Figure 6. Sample data for subtracting time in Excel*

We want to subtract the time in column C to the “Before” time in Column B.

In cell D4, enter the formula:

**=B4-TIME(1,0,0)**

This formula subtracts 1 hour, 0 minutes and 0 seconds to 11:00:00 AM. The result is 10:00:00 AM.

* Figure 7. Entering the formula to subtract time in Excel*

Do the same for the other examples to obtain below results:

*Figure 8. Output: Using the TIME function to subtract time in Excel*

As shown above, we have successfully subtracted time and obtained the “After” time of 10:00:00 AM for all examples.

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

## Leave a Comment