Re: How to get difference in hours

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You need to use a custom format of [hh]:mm for the result, I get 64:51 using
your example
Btw, no need to use AM/PM since you use 24 hour time (16:54:28) Btw, Andy
told you to use [hh] format

--
Regards,

Peo Sjoblom


"Akhilesh Dalia" <AkhileshDalia@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:60DC08FB-79B9-475E-980E-12BFC1C1C1C5@xxxxxxxxxxxxxxxx
> Dear friends,
>
> Thanks for help, but still I'm not getting correct answer. It may be my
> mistake to explain my problem. Let's go through real data as per below.
>
> My A1 column contain 01-Jan-2005, B1 column contain 16:54:28 PM, C1 column
> contain 04-Jan-2005 and D1 column contain 09:45:45 AM. Now if you
> calculate
> manually the right answer is 64:51 Hrs. But when I'm applying all your
> suggestions and formulas I'm not getting 64:51, but some other figures,
> which
> is not correct. I want machine also to give 64:51 Hrs.
>
> Pleas help again.
>
> Akhilesh Dalia
> akhileshdalia<at>hotmail<dot>com
>
> "Akhilesh Dalia" wrote:
>
>> I have few thousand rows, which contain arrival date, arrival time,
>> received
>> date & arrival time. I want to get difference in hours, what is the
>> difference between arrival and received.
>>
>> Few examples
>> A B C D
>> 01/Jan/2005 12:14:29 PM 02/Jan/2005 9:30:00 AM
>>
>> based on above data in E column I want difference between date & time in
>> total hour.
>>
>> Thanks for spent your time on this question.
>>
>> Regards
>>
>> Akhilesh Dalia
>> akhileshdalia<at>hotmail<dot>com


.



Relevant Pages

  • How to get difference in hours
    ... I have few thousand rows, which contain arrival date, arrival time, received ... Regards ... Akhilesh Dalia ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Newusers?
    ... BTW, no need to reply, because "they" are watching! ... Regards. ... I no longer have it as a subscription and it is not in the list of ...
    (microsoft.public.windowsxp.general)
  • Re: The garbage on the group
    ... BTW, for anyone interested in whazzup with Usenet lately: ... Regards, Weird * IMPORTANT EMAIL INFO FOLLOWS * ... Kids jumping ship? ...
    (alt.os.linux.suse)
  • Re: Too many files open
    ... btw. 300 is a lot, are you sure about this amount? ...
    (microsoft.public.fox.programmer.exchange)
  • Re: All of you MVPs have something to worry about (-:
    ... BTW, I searched her name ... in Google! ... Regards, ... Richard Urban ...
    (microsoft.public.windowsxp.basics)