View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sheeloo[_5_] Sheeloo[_5_] is offline
external usenet poster
 
Posts: 248
Default Help Calculating Time

Try
=INT(C29-B29)&" days "&INT((C29-B29-INT(C29-B29))*24) & " hours " &INT(
((C29-B29-INT(C29-B29))*24-INT((C29-B29-INT(C29-B29))*24))*60) & " minutes"

To exclude weekends/holidays, try to use NETWORKDAYS function.

--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"tech1NJ" wrote:

I have a problem displaying the time (minutes) correctly beyond 60 minutes.
Fox example:

B29 = 3/17/09 4:10 PM - cell formated as DATE and TYPE 3/17/09 4:10 PM
C29 = 3/19/09 10:05 PM - cell formated as DATE and TYPE 3/19/09 10:05 PM
D29 will display 24 hours 1075 minutes.
Formula in D29 =INT(C29-B29)*24& "hours "&INT(MOD((C29-B29),1) & minutes"

2 things that I would like to have display in D29
a) is X days X hours X minutes.
b) Total time to exclude the weekends as it is not a business day for us.
I know that I'm mssing something here but do not know what exactly. Can
anyone help.


--
tech1NJ