View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Snort5525 Snort5525 is offline
external usenet poster
 
Posts: 4
Default Change time h:mm to a decimal number based on hours

Thanks to all for their help! I did not anticipate such a quick response, and
you saved me a lot of time.

"Pete_UK" wrote:

Try this:

=(B1-A1)*24

and format the cell as Number with 2dp. Copy down as necessary.

Hope this helps.

Pete



On May 31, 4:56 pm, Snort5525
wrote:
We have a spreadsheet with columns for time started and time finished. The
data shows up as hh:mm. A third column is the difference between these first
two, showing total hours and minutes spent on the task. How can I show the
data in the third column as hours to two decimal places?