Change time h:mm to a decimal number based on hours

S

Snort5525

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?
 
P

Pete_UK

Try this:

=(B1-A1)*24

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

Hope this helps.

Pete
 
S

Snort5525

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top