The formula you gave is correct the words should say multiply.To convert time to a decimal take the time and divide by 24
eg: 2:55:22 x 24 = 2.92
make sure the result cell is formatted as a decimal number
HelloTo convert time to a decimal take the time and divide by 24
eg: 2:55:22 x 24 = 2.92
make sure the result cell is formatted as a decimal number
Sub ConvertTime()
Dim strTime As String
Dim splitTime As Variant
Dim dblTime As Double
strTime = ActiveCell.Value
splitTime = Split(Trim(strTime), " ")
dblTime = 24 * TimeSerial(splitTime(0), splitTime(2), splitTime(4))
MsgBox "Time: " & dblTime
End Sub