Results 1 to 3 of 3

Above 24 Hrs time difference

Threaded View

amlanbal Above 24 Hrs time difference 09-02-2011, 10:33 AM
daddylonglegs Re: Above 24 Hrs time... 09-02-2011, 10:39 AM
amlanbal Re: Above 24 Hrs time... 09-03-2011, 08:32 PM
  1. #1
    Registered User
    Join Date
    08-12-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Above 24 Hrs time difference

    This is my first post so forgive me for any mistake.I have created formula below to calculate the time difference which is above 24 Hrs.It works to some extend but not accurate.So please help me out (I cant use the date/time format in my worksheet).Any VBA code to solve this is also welcome(I have attach a sample for this).I am using excel 2003/2007 both.
    Thanks

    =IF(B1<=D1,IF(C1<=A1,IF(D1<B1,D1+1,D1)-B1,IF(D1<B1,D1+1,D1)-B1+DATEDIF(A1,C1,"d")*1),IF(IF(D1<B1,D1+1,D1)-B1<="24:00",IF(D1<B1,D1+1,D1)-B1,IF(C1<=A1,IF(D1<B1,D1+1,D1)-B1,IF(D1<B1,D1+1,D1)-B1+DATEDIF(A1,C1,"d")*1)))
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1