View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Adding time over a 24 hour period

Format the result cell as [h]:mm

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Paige" wrote in message
...
On my spreadsheet I am adding two cells.
Formula =E12-D12+IF(D12E12,1)
This should subtract 4/12/06 9:00AM to 4/13/06 16:00 (4:00PM)
As you can see this is over 24 hours but the answer is 7 hours, the same
answer I get when subtracting the same hours on the same day. What am I
doing wrong?
--
Thank you,

Paige