How to Subtract Hours from Time in Excel (2 Easy Ways)

 

Case 1 – Subtract Less Than 24 Hours from Time in Excel

Method 1.1 – Apply Fundamental Method to Subtract Hours

From the dataset, we can see we have a schedule of starting times for six football matches. Suppose all the matches have been rescheduled and will start 2 hours earlier. We need to subtract 2 hours from the starting time of all the football matches.

Apply Fundamental Method to Subtract Hours

Steps:

  • We need to fix the time format like the dataset that we have given.
  • Go to the Home tab.
  • Click on the dropdown from the number section in the ribbon.
  • Select More Number Formats”.

Apply Fundamental Method to Subtract Hours

  • A new dialogue box will appear. Select the option “Time” from Category.
  • In the Type section, select the option “*1:30:00 PM” and press OK. This will set the time format for the worksheet as “*1:30:00 PM”.

  • Select cell D5 and insert the following formula:
=C5-(2/24)
  • Press Enter.

Apply Fundamental Method to Subtract Hours

  • The above command subtracts 2 hours from the start time of cell C5 and returns output in cell D5.

  • Select cell D5. Move the mouse cursor to the bottom right corner of the selected cell so that it turns into a plus (+) sign like the following image. This is the Fill Handle.
  • Click and drag the Fill Handle down to cell D10 to copy the formula of cell D5 in other cells. You can also double-click on the icon to get the same result.

  • You can see the updated schedule for all matches after subtracting 2 hours from the start time.

Apply Fundamental Method to Subtract Hours

Read More: How to Subtract Time and Convert to Number in Excel


Method 1.2 – Subtract Hours with Excel TIME Function

Let’s repeat the same process with a different function.

Subtract Hours with Excel TIME Function

Steps:

  • Select cell D5.
  • Insert the following formula in that cell:
=C5-TIME(2,0,0)

Subtract Hours with Excel TIME Function

  • Press Enter.

  • Drag the Fill Handle (bottom-right corner of the cell) down to the rest of the column.

  • You can see the new schedule for all matches after subtracting 2 hours from the start time.

Subtract Hours with Excel TIME Function

Read More: How to Subtract Minutes from Time in Excel


Case 2 – Excel Subtract More Than 24 Hours from Time

To illustrate subtracting more than a day, we will use the same dataset but this time we also have dates with time and will subtract 26 hours from time. So, if we subtract more than 26 hours from a time, the date should change automatically.

Excel Subtract More Than 24 Hours from Time

Steps:

  • Set the time format like the dataset. Our time format is a Custom format.
  • Go to the Home tab.
  • Click on the dropdown from the Number section in the ribbon.
  • Select “More Number Formats”.

Excel Subtract More Than 24 Hours from Time

  • A new dialogue box will appear. From that box, select the option Custom from the Category.
  • Copy the format dd mmmm yyyy, hh:mm:ss AM/PM” in the box for Type.
  • Press OK.
  • This will fix the time format for the worksheet as dd mmmm yyyy, hh:mm:ss AM/PM”.

Excel Subtract More Than 24 Hours from Time

  • Select cell D5 and insert the following formula:
=C5-(26/24)

  • Press Enter. This subtracts 26 hours from the cell.

  • Drag the Fill Handle (bottom-right corner of the cell) down to the rest of the column (D10).

  • We can see the start time for all the matches after subtracting 26 hours.

Excel Subtract More Than 24 Hours from Time

Read More: How to Subtract Date and Time in Excel


Download Practice Workbook

You can download the practice workbook from here.


Related Articles


<< Go Back to Subtract Time | Calculate Time | Date-Time in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Mukesh Dipto
Mukesh Dipto

Mukesh Dipto is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a superhero tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including Rhino3D, Maxsurf C++, AutoCAD, HTML, CSS, JavaScript, and WordPress. He got his B.Sc in Naval Architecture & Marine Engineering from BUET, and now he's switched gears, working as a content developer. In this role, he... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo