Extracting number of hours as decimal...

D

DanielWalters6

I have a list of start and finish times.

I've subtracted the finish time from the start time to get the number of
hours an employee has worked.

This number of hours is given as 6:15 or 7:30, from this, how can I extract
6.25 or 7.5?

thank you for your help!
 
N

Niek Otten

Hi Dan,

Multiply by 24 and format as General or Number, not as Time (which is what Excel does automatically)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

|I have a list of start and finish times.
|
| I've subtracted the finish time from the start time to get the number of
| hours an employee has worked.
|
| This number of hours is given as 6:15 or 7:30, from this, how can I extract
| 6.25 or 7.5?
|
| thank you for your help!
|
|
| --
| Dan Walters
 
D

DanielWalters6

thank you for your help.

I knew it was something simple!

What is time saved as, before you multiply it?

Please explain what multiplying it does to the value - Im a little
confused...
 
C

Chip Pearson

What is time saved as, before you multiply it?
Please explain what multiplying it does to the value - Im a little
confused...

Times are stored as a fraction of a 24-hour day. E.g., 6:00 = 0.25, 12:00 =
0.5, 18:00 = 0.75, 24:00 = 1.0. By multiplying by 24, you get the decimal
number of hours, as in, 6:00 * 24 = 0.25 * 24 = 6.0.

See http://www.cpearson.com/excel/datetime.htm for much more about dates and
times in Excel.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)
 

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