Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jkwok
 
Posts: n/a
Default hours to fractions


Hi,

I have a 3 cell scenario. In the first cell is the time an employee
starts a work day formatted under time. So entering a 9:00 would result
in 9:00:00 AM.

The second cell is the time an employee clocks out formatted the same
way. So 5:30 PM would give 5:30:00 PM

In the last cell, I want the total time worked to be displayed. Right
now, by subtracting the 2nd cell from the 1st... I get 8:30 as a
result. Which is correct... 8.5 hours... but I want it displayed as 8.5
and not 8:30. How can I do this?

Thanks to any and all who reply!!


--
jkwok
------------------------------------------------------------------------
jkwok's Profile: http://www.excelforum.com/member.php...o&userid=28428
View this thread: http://www.excelforum.com/showthread...hreadid=480240

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default hours to fractions

Multiply with 24

=D2*24

D2 holds the time difference

it is important that you format the cell as either general or number
NOT time


--

Regards,

Peo Sjoblom

"jkwok" wrote in
message ...

Hi,

I have a 3 cell scenario. In the first cell is the time an employee
starts a work day formatted under time. So entering a 9:00 would result
in 9:00:00 AM.

The second cell is the time an employee clocks out formatted the same
way. So 5:30 PM would give 5:30:00 PM

In the last cell, I want the total time worked to be displayed. Right
now, by subtracting the 2nd cell from the 1st... I get 8:30 as a
result. Which is correct... 8.5 hours... but I want it displayed as 8.5
and not 8:30. How can I do this?

Thanks to any and all who reply!!


--
jkwok
------------------------------------------------------------------------
jkwok's Profile:

http://www.excelforum.com/member.php...o&userid=28428
View this thread: http://www.excelforum.com/showthread...hreadid=480240



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculating hours bus2408 Excel Worksheet Functions 2 June 23rd 05 02:39 PM
Convert hours and minutes in time format into fractions of hours.. Akern Excel Worksheet Functions 4 April 21st 05 02:56 PM
calculate hours just can't figure it out monish74 Excel Worksheet Functions 1 February 13th 05 07:31 PM
calculate difference in time to hours Chris Excel Worksheet Functions 5 January 18th 05 06:07 PM
Subtracting paid hours from unpaid hours ejerry7 Excel Worksheet Functions 5 November 29th 04 04:16 AM


All times are GMT +1. The time now is 02:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"