
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Convert Time Difference between Two Times to Number (Hours/Minutes/Seconds) in Excel?
In general, we will need to work with times more frequently in Excel. If we try to perform the difference between two different times manually, then it can be a complex and time-consuming process. When we calculate the time difference between two different times directly using the general formula, the value will be returned in hours, minutes, and seconds.
Sometimes you need the difference only in hours, minutes, or seconds. We can use the process discussed in this tutorial to complete this task. Read this tutorial to learn how you can convert the time difference between two times to only return a solution in hours, minutes, or seconds.
Converting Time Difference between Two Times to Hours in Excel
Here we will first convert any one result into a number format using the formula, then get all the results using the auto-fill handle. Let us see a simple process to know how we can convert the time difference between two times to return the solution as a number of hours in Excel.
Step 1
Let us consider an Excel sheet where the data is a list of start and end times, similar to the below image.

Now click on an empty cell, in our case cell C2, and enter the formula as =(B2-A2)*24 and click enter to get our first result, as shown in the below image. In the formula, A2 and B2 are the addresses of start and end times, respectively, on the excel sheet.
Empty cell > Formula > Enter

Step 2
Then drag down from the first result using the auto-fill handle, as our final result will be similar to the below image.

Step 3
If the solutions returned are still in time format. Select the data, right-click, and select format cells to open a pop-up window. In the pop-up window, click on "General" and then "OK."
Select result > Right click > Format cells > General > OK

If we need the solution in minutes, we can use the formula =(B2-A2)*1440, and for seconds, we can use =(B2-A2)*86400.
Conclusion
In this tutorial, we used a simple example to demonstrate how you can convert time differences into numbers in Excel.
- Related Articles
- How to Convert Time to Decimal Hours /Minutes/ Seconds in Excel?
- How to Convert Hours, Minutes and Seconds to Decimal Hours in Excel?
- How to add time with hours/minutes/seconds increments in Excel?
- How to Add or Subtract Times to Get Hours/Minutes/ Seconds in Excel?
- How to Convert Time to Integer Hours or Minutes in Excel?
- Python program to convert seconds into hours, minutes and seconds
- How to Convert Decimal Degrees to Degrees Minutes Seconds in Excel
- Convert 7290 seconds into hours and minutes.
- Calculating total number of Hours, Days, Minutes and Seconds between two dates in Golang
- How to get time difference between two timestamps in seconds?
- How to Convert Time to Decimal Over 24 Hours in Excel?
- How To Check If Time Is Between Two Times In Excel?
- How to convert JavaScript seconds to minutes and seconds?
- Swift integer conversion to Hours/Minutes/Seconds
- Subtract 4 hours 20 minutes 36 seconds from 8 hours 18 minutes 20 seconds.
