View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default ~Time Calculation

Put this formula in G381:

=(C381-B381-TIME(,30,))*24

and format the cell as General or Number with 2 dp.

Hope this helps.

Pete

On Feb 18, 3:29*pm, Karen wrote:
I have a formula that calculates time.
The following cells contain the following data.
Cell B381 contains 8:00 AM
Cell C381 contains 4:45 PM
Cell E381 contains =TEXT(C381-B381-TIME(,30,),"[h] \h\r\s: m \m\i\n\s")
which calculates to 8 hrs: 15 mins.

In cell G381, I want to display the time from cell E381 as 8.25
What formula do I use in G381?

Any help would be greatly appreciated
Thank you for your time in advance, Karen