

To get the number of compete hours, embed the above formula in the INT function that will get rid of the fractional part:Īnother way to perform the "time > hours" conversion is to use the following Convert formula:įormula 3: HOUR, MINUTE and SECOND functionsįinally, you can use a bit more complex formula, whose logic, however, is quite obvious. You already know the fastest way to convert a time value to a number of hours in Excel - multiplying by 24, i.e. This section demonstrates 3 different formulas to convert hours from the standard time format (hh:mm:ss) to a decimal number. In the following sections, you will learn the other methods of converting times to a decimal number in Excel.
#Time clock conversion formula how to
How to convert time to decimal number in Excel Convert text to time using TIMEVALUE function.Spell time (XX days, XX hours, XX minutes, and XX seconds).


How to split date and time into separate columns.How to convert time to decimal number in Excel.Further on in this tutorial, you will find the detailed explanation of the first way and formula examples demonstrating the other technique. In general, there are two ways to convert time to decimal in Excel - by changing the cell format and by using arithmetic calculations or Excel time functions, such as HOUR, MINUTE and SECOND. You will find a variety of formulas to change time to hours, minutes or seconds as well as convert text to time and vice versa.īecause Microsoft Excel uses a numeric system to store times, you can easily turn hours, minutes and seconds into numbers that you can use in other calculations. To display the result as a regular number, apply the General or Number format.The tutorial demonstrates different ways to convert time to decimal in Excel. When you multiply a time value by 86400, Excel may automatically format the result using a time format like h:mm, which will display the value incorrectly. The Excel time 6:00 converts to 21,600 seconds. With the time value 6:00 cell A1, you can visualize the conversion like this: =A1*(24*60*60) This means times and hours are fractional values of 1, as shown in the table below: Hoursīecause each hour can be represented as 1/24, you can convert an Excel time into decimal hours by multiplying the value by 24, convert to decimal minutes by multiplying the value by 1440 (24 * 60), and convert to seconds by multiplying by 86400 (24 * 60 * 60). In the Excel time system, one 24-hour day is equal to 1.
