Excel right arrow icon Excel

MS Excel: How to Subtract Time in Excel

MS Excel: How to Subtract Time in Excel
Added On:
Last Update:

Excel Times are stored in decimal values in the Excel. Subtracting times is very easy, it is as simple as that you subtracting any two numbers by just one value from the other. In Excel, you have to the one cell’s value to the other cell’s value.

How To Subtract Times In Excel (Quick Guide)

Easy steps to Subtract or Add two different Times, further steps guide available below

  1. Enter any Time in cell A1 and another Time with some difference in the A2 cell.
  2. Select an empty cell and right-click and select the format cell option.
  3. Now select the required format of time and click OK.
  4. Inside the empty cell put this "=B2-A2" formula and click "Enter" on keyboard.

Result of the subtraction will be equal to the difference in hours and minutes between the B2 and A2 dates.

Excel Times Subtraction Example

Excel example contains three columns where A column contains the initial Time and column B contains the other Time and column c contains the formula where column A time is subtracted from the column B time.

Image_1

Note: Column A and Column B should be formatted with the right pattern of time but column C should be formatted with "General" format.

Changing Excel Cell Formatting

Excel output or difference between two times comes as the time format and you want that in a format of number. The only thing that you have to change is, change the formatting of the cell to Number type.

Simplest way to change the formatting of an Excel cell is, to select the "General" formatting option from the drop-down list at the middle top in the Home tab. Generally comes under Number group options, as shown below image:

Image_2

Excel also provides more format, for that you have to select the option More Number Formats. A Format Cells dialogue box will be open and here you can choose different types of pre-defined formats of Time or you can also create your own format in Custom format.