+ Reply to Thread
Results 1 to 4 of 4

Time and Date of Next Value

  1. #1
    Registered User
    Join Date
    09-28-2020
    Location
    Wales
    MS-Off Ver
    office 2010
    Posts
    4

    Lightbulb Time and Date of Next Value

    First post , hope I've complied with forum rules.

    Looking to create a formula to work on values in column E

    I want the formula to look at the value in column E and see where the value next appears in either column E or column F. On finding the next occurrence of the value I would like to read the time and date in column A and column B and record it in the row of the initial search value.
    The time and date to be recorded should go in column G and column H respectively.

    I would like to carry out the same operation on the values in column F. Again looking to see where the next value appears in column E or column F. On finding the next occurrence of the value I would like to read the time and date in column A and column B and this time record in the row of the initial search value but place the time and date in column I and column J respectively.

    Attached a workbook with a BEFORE and AFTER worksheet.

    thanks for taking a look

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: Time and Date of Next Value

    Try this in cell G2:

    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($E3:$F$10)/($E3:$F$10=$E2),1)),"")

  3. #3
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Time and Date of Next Value

    There's a mistake in your table? why would line G4 is 13:54 ?

  4. #4
    Registered User
    Join Date
    09-28-2020
    Location
    Wales
    MS-Off Ver
    office 2010
    Posts
    4

    Smile Re: Time and Date of Next Value

    Phuocam - This formula works perfectly

    Belinda200 - You are right. I made some unnecessary tweaks, my bad.

    Thanks for responding and sorting this for me.

+ 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. Replies: 7
    Last Post: 09-17-2019, 07:52 PM
  2. Replies: 7
    Last Post: 06-19-2017, 06:10 PM
  3. Replies: 9
    Last Post: 02-15-2015, 07:32 PM
  4. Replies: 3
    Last Post: 12-19-2013, 06:49 AM
  5. Calculation of time difference between the Start date & time & End Date & time
    By Harry Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-17-2012, 03:54 PM
  6. Calculating days & time left from start date/time to end date/time
    By marie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2005, 10:40 AM
  7. Replies: 0
    Last Post: 08-28-2005, 10:35 AM

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