+ Reply to Thread
Results 1 to 2 of 2

Start and Stop times by account number and discharge date

  1. #1
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Question Start and Stop times by account number and discharge date

    I have multiple records with different account numbers with start, stop times, and discharge date/times. The goal is to only retrieve the first start time for accounts and stop time is last time before the discharge date/time. If after discharge time, it should create a new output time interval for start and stop time based on the method above.

    Which formula would be appropriate for extracting this information from my raw data sheet?

    Example:

    Account # 12345

    Start time
    1/1/13 5:16
    1/1/13 2:15
    1/1/13 4:13
    1/3/13 1:00
    1/2/13 4:13
    1/3/13 1:01
    1/1/13 00:45
    1/4/13 15:43
    1/5/13 0:16

    Discharge Time
    1/3/13 0:53
    1/4/13 23:45

    There are multiple records..but the formula should only calculate:
    Output #1
    Start: 1/1/2013 2:15
    Stop: 1/2/2013 4:13
    as the discharge date/time is 1/3/2013 0:53.

    Then another record should show start after 1/3/2013 0:53.
    Output #2
    Start: 1/3/13 1:00
    Stop: 1/4/13 15:43
    Discharge time for this is 1/4/13 23:45

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Start and Stop times by account number and discharge date

    can you post a sample workbook with atleast 10-15 rows of data
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy column variable number of times between start date and end date
    By gbisk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2013, 07:57 AM
  2. [SOLVED] Counting the number of times a date occurs in multiple start and end date ranges.
    By Grizz in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-05-2013, 04:41 PM
  3. Replies: 1
    Last Post: 09-07-2012, 12:00 PM
  4. Excel 2007 : Headcount Based on Date & Start/Stop Times
    By ibspayroll in forum Excel General
    Replies: 8
    Last Post: 05-10-2011, 05:28 PM
  5. Match Start & Stop Times
    By dreicer_Jarr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2010, 10:46 PM

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