

All you need to do is to multiply the original time value by the number of hours, minutes, or seconds in a day: The easiest way to convert time to decimal in Excel is using the Arithmetic Method. Let’s discuss them one by one 😀 Arithmetic Method In Excel, there are two (2) ways to convert time to decimal values: The formula below shows why it displayed 0.25. Any time value you enter into the cell is divided by 24 when changed into Number format. This is because, in the Excel time system, 24 hours is equal to 1. When you change its format to “Number”, you’ll get “0.25” instead. When you write “6:00” in Excel, it automatically detects the data as “h:mm” or hours minutes format. Let’s go with the basics of the Excel time system so you can better understand how time conversion works. =HOUR(A2) * 3600 + MINUTE(A2) * 60 + SECOND(A2)Īgain, the formula in B2 of the above spreadsheet returns the value 9030.Before you can convert time into hours or minutes or seconds, you need to first convert time into decimal numbers. The same result can be obtained using the Excel Hour, Minute and Second functions, as shown below: (The reason that this method works is because Excel times are internally stored as decimal values, with the value 1.0 used to represent 24 hours, and therefore, the value 1/86400 used to represent 1 second). 2 hours 30 minutes and 30 seconds is equal to 9030 seconds. The easiest way to convert a time to a number of seconds is to simply multiply the time by 86400, which is equal to 24*60*60 (the number of seconds in one day):įor the time 02:30:30, the formula in B2 of the above spreadsheet returns the value 9030. The spreadsheets below show the formulas that can be used to convert a time to a number of seconds in Excel. =HOUR(A2) * 60 + MINUTE(A2) + SECOND(A2) / 60Īgain, the formula in cell B2 of the above spreadsheet returns the value 150.5. The same result can also be obtained using the Excel Hour, Minute and Second functions, as shown in the spreadsheet below: (The reason that this method works is because Excel times are internally stored as decimal values, with the value 1.0 used to represent 24 hours, and therefore, the value 1/1440 used to represent 1 minute). 2 hours 30 minutes and 30 seconds is equal to 150.5 minutes.

The simplest way to convert a time to a number of minutes is to multiply the time by 1440, which is equal to 24*60 (the number of minutes in one day):įor the time 02:30:30, the formula in cell B2 of the above spreadsheet returns the value 150.5. =HOUR(A2) + MINUTE(A2) / 60 + SECOND(A2) / 3600Īgain, the formula in cell B2 of the above spreadsheet returns the value 2.5.Ĭell B2 of the spreadsheets below show the two formulas that can be used to convert a time to a number of minutes in Excel. Although this formula is much longer than the simple multiplication shown above, some people prefer it. The second formula that can be used to provide the same result uses the Excel Hour, Minute, and Second functions.

(The reason that this method works is because Excel times are internally stored as decimal values, with the value 1.0 used to represent 24 hours, and therefore, the value 1/24 used to represent 1 hour). 2 hours 30 minutes and 0 seconds is equal to 2.5 hours.

The formula in cell B2 of the above spreadsheet returns the value 2.5. In this case, the time is simply multiplied by 24 (the number of hours in one day). The simplest formula to convert a time to a number of hours is shown below. The following spreadsheets show two different formulas that can be used to convert a time to a number of hours in Excel.
