+ Reply to Thread
Results 1 to 2 of 2

Need a Excel formula.

  1. #1
    Registered User
    Join Date
    10-29-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Need a Excel formula.

    Hello Excel Experts,

    I am trying to write an excel formula to find the time difference between 2 columns (both the columns have a date & time) considering a constant time frame 8:00 till 20:00 (start & end time)

    E.g.
    Column 1 Column 2
    Entry date & time Completion date & time
    19/10/2009 & 10:00 am 21/10/2009 & 09:00 am

    Need the time difference (no. of hours and minutes) between the above 2 columns considering the Service start time to be 8:00 hrs on any day and service close time to be 20:00 hrs on any day

    Taking the above example the time difference should be calculated from
    (19 Oct @ 10:00 hrs till 19 Oct @ 20:00 hrs) +
    (20 Oct @ 08:00 hrs till 20 Oct @ 20:00 hrs) +
    (21 Oct @ 08:00 hrs till 21 Oct @ 09:00 hrs) = 23 hrs

    Also, if the entry time is before 08:00 hrs & after 20:00 hrs then the no. of hours should be calculated after the service start time of 08:00 hrs and should stop at 20:00hrs.
    Last edited by winod77; 10-29-2009 at 07:42 AM. Reason: Following the Rules

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,604

    Re: Please Help need a Excel formula.

    Please rename your title according to the rules

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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