+ Reply to Thread
Results 1 to 9 of 9

Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

Hybrid View

  1. #1
    Registered User
    Join Date
    01-11-2013
    Location
    dammam
    MS-Off Ver
    Excel 2013
    Posts
    31

    Wink Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

    I'm working on this sheet to track the actions done by different groups while registering a new company. there is no specific order for these groups to do their action, and there is no specific processor to do the action.

    The column that need the formula is called "Most Recent Processor". it should show the name of the processor who has done the most recent action based on the date cell next to his name.

    To understand the issue clearly, please see attached excel sheet

    Tracking.xlsx

    Please help!

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

    You can use the =Max function to find the latest Date.. What would you want to do after you get the latest date?
    Cheers!
    Deep Dave

  3. #3
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

    Put this in H2:
    =LOOKUP(I2;B2:G2;A2:F2)

    and this in I2:
    =MAX(C2;E2;G2)

    and drag both down

    btw maybe my semicolons have to be commas for you
    When I say semicolon, u say comma!

  4. #4
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

    Hold up there's some wrong results in there...

  5. #5
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

    Instead of the lookup formula i gave you for H2, use this:

    =IF(I2=C2;B2;IF(I2=E2;D2;IF(I2=G2;F2;"")))

    and drag down
    There should be a shorter way, but this works. However if you actually have more than 3 processes and dates per sn, it gonna be a long, long formula...

  6. #6
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

    Quote Originally Posted by L-Drr View Post
    Instead of the lookup formula i gave you for H2, use this:

    =IF(I2=C2;B2;IF(I2=E2;D2;IF(I2=G2;F2;"")))

    and drag down
    There should be a shorter way, but this works. However if you actually have more than 3 processes and dates per sn, it gonna be a long, long formula...
    Yes, there is. See post #6

  7. #7
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

    Quote Originally Posted by Teethless mama View Post
    Yes, there is. See post #6
    awesome

  8. #8
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

    I2: =max(c2:g2)

    h2: =index(b2:f2,match(i2,c2:g2,0))

  9. #9
    Registered User
    Join Date
    01-11-2013
    Location
    dammam
    MS-Off Ver
    Excel 2013
    Posts
    31

    Re: Formula to Find the Most Recent Date, and Then Return the Corresponding Cell

    Quote Originally Posted by Teethless mama View Post
    I2: =max(c2:g2)

    h2: =index(b2:f2,match(i2,c2:g2,0))
    Awesome! It works great

+ 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. [SOLVED] Find the summary of a cell connected to the most recent date.
    By tomsmith in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-10-2013, 11:28 AM
  2. Return the most recent date from a given cell
    By jrainbow in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-15-2012, 06:03 PM
  3. Replies: 1
    Last Post: 10-21-2012, 05:03 PM
  4. Find a value in a database for the most recent date, return all values relating to it.
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-22-2012, 01:39 PM
  5. Replies: 4
    Last Post: 03-18-2011, 09:13 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