In this tutorial, we will learn to calculate the average of the time values that you have in a range of cells.

## Formula to Average Time

In the following example, you have three-time values in column A in the range A1:A3. Now you need to calculate the average of these time values.

For this, you need to use the AVERAGE function.

- Enter the average function in a cell by using the equal sign.
- Then enter the AVERAGE function and start parentheses.
- Refer to the range where you have the time.
- In the end, enter the closing parentheses and hit enter to get the result.

`=AVERAGE(A1:A3)`

In the cell where you want to calculate the average of the time, you need to make sure to have the time format on that cell. Even if you don’t change the format, Excel is smart enough to change this format for you when you enter the formula in it.

## Understand Time in Excel

In Excel, **when you enter time in a cell Excel gives it a format automatically**. There are two ways to format a time value one is in a 12-hour format and the second is in a 24-hour format. When you are averaging time, and you have a 12-hour format, you need to be a little cautious.

Above we have two different times one is 6:30 AM and the second is 6:30 PM. That’s why the average is different with both formulas.

## Why I’m Getting #DIV/0! Error While Averaging Time

If your time values are stored as a text value in the cell, you might face #DIV/0! error. Below we have a list of time values that are saved as text and on averaging we are getting an error.

To solve this problem, you can use the following formula.

You need to enter this formula as an array formula by using **Ctrl + Shift + Enter**.

## Download Sample File

## More Formulas

- Calculate Compound Interest in Excel
- Calculate Cube Root in Excel
- Calculate Percentage Variance (Difference)
- Calculate Simple Interest in Excel
- Calculate SQUARE ROOT in Excel
- Calculate the Weighted Average in Excel
- Does Not Equal Operator in Excel
- Round a Number to Nearest 1000, 100, and 10
- Round to Nearest .5, 5. 50 (Down-Up) in Excel
- Square a Number in Excel