Converting "time" to "whole number" I.E. 12:30 to 12.5??? How

T

tass

I am making a "Timesheet" spreadsheet to track employees time. I am
trying to get excel to take the number of hours a person has worked
and convert it. Example: taking an average work day of 8.5 hours and
displaying it as 8.5 and not 8h 30m. Currently excel diplays the time
as hours and minutes what I want is hours and parts of hours .25,.5,
..75.
How does one do this???
 
B

Bernard Rey

tass wrote :
I am making a "Timesheet" spreadsheet to track employees time. I am
trying to get excel to take the number of hours a person has worked
and convert it. Example: taking an average work day of 8.5 hours and
displaying it as 8.5 and not 8h 30m. Currently excel diplays the time
as hours and minutes what I want is hours and parts of hours .25,.5,
.75.
How does one do this???

Suppose your 8:30 time is in cell A1. In cell B1 (or any other) type:
"=A1*24" (without the quotes).

Then go to the "Format" > "Cells..." item. In the "Number" tab, select the
"General" setting, click "OK" and there you should read "8,5" in B1.

For more information about how Excel deals with dates and time, check the
helpfile.
 

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