+ Reply to Thread
Results 1 to 10 of 10

Find a name, then find latest date, then find coresponding text in same row..........

  1. #1
    Registered User
    Join Date
    07-09-2014
    Location
    arizona
    MS-Off Ver
    mac
    Posts
    5

    Find a name, then find latest date, then find coresponding text in same row..........

    More specifically:

    Column A has a list of dates with times
    Column B has a list of names
    Column C has either a Yes or No

    I need it to locate a specific name in Column B, then find the most recent date with most recent time in Column A corresponding to the name in Column B, then I need it to tell me whether it says Yes or No in Column C.

    I've been able to get it to find all the info I need separately but I can't seem to figure out how to get them to work all together.

    Hope that made sense, thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Find a name, then find latest date, then find coresponding text in same row..........

    Can you post a sample of said data.

    GO Advanced (ALT+X)

    In it, have a clear output format of what you are looking for.

    Now if you think you have the solutions separately.. you can combine them with a &" "& between your formulas, which will add a space and then complete the next solution
    -If you think you are done, Start over - ELeGault

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Find a name, then find latest date, then find coresponding text in same row..........

    Yes please. Attach a worksheet. there isn't enough information here to have make a sensible start at this...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: Find a name, then find latest date, then find coresponding text in same row..........

    Let A:C house the data you specified from row 2 downwards.

    Let E2 house a name of interest.

    F2, control+shift+enter, not just enter:

    =INDEX($C$2:$C$8,MATCH(1,IF($B$2:$B$8=$E2,IF($A$2:$A$8=MAX(IF($B$2:$B$8=$E2,$A$2:$A$8)),1)),0))

  5. #5
    Registered User
    Join Date
    07-09-2014
    Location
    arizona
    MS-Off Ver
    mac
    Posts
    5

    Re: Find a name, then find latest date, then find coresponding text in same row..........

    Workbook.xlsx

    Hopefully that attached correctly.

    So looking at it, start with BILL. I'm trying to get it to find BILL, then find the latest date/time stamp for BILL, then find what is in the same row as that but in column C and tell me if it is yes or no.

  6. #6
    Registered User
    Join Date
    07-09-2014
    Location
    arizona
    MS-Off Ver
    mac
    Posts
    5

    Re: Find a name, then find latest date, then find coresponding text in same row..........

    to: Aladin Akyurek

    "Let A:C house the data you specified from row 2 downwards.

    Let E2 house a name of interest.

    F2, control+shift+enter, not just enter:

    =INDEX($C$2:$C$8,MATCH(1,IF($B$2:$B$8=$E2,IF($A$2:$A$8=MAX(IF($B$2:$B$8=$E2,$A$2:$A$8)),1)),0))"


    I put this in but it's not giving me the most recent answer for the name of interest. I'll play around with it, thanks for a start!!

  7. #7
    Registered User
    Join Date
    07-09-2014
    Location
    arizona
    MS-Off Ver
    mac
    Posts
    5

    Re: Find a name, then find latest date, then find coresponding text in same row..........

    Quote Originally Posted by ELeGault View Post
    Can you post a sample of said data.

    GO Advanced (ALT+X)

    In it, have a clear output format of what you are looking for.

    Now if you think you have the solutions separately.. you can combine them with a &" "& between your formulas, which will add a space and then complete the next solution
    I'll try the & idea, thanks.

  8. #8
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: Find a name, then find latest date, then find coresponding text in same row..........

    See the attachment, which is exactly equivalent to the description I provided.

  9. #9
    Registered User
    Join Date
    07-09-2014
    Location
    arizona
    MS-Off Ver
    mac
    Posts
    5

    Re: Find a name, then find latest date, then find coresponding text in same row..........

    Quote Originally Posted by Aladin Akyurek View Post
    See the attachment, which is exactly equivalent to the description I provided.
    Thanks man! Not entirely sure where I screwed up transposing it the first time..........but thanks again! Perfecto!

  10. #10
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: Find a name, then find latest date, then find coresponding text in same row..........

    You are welcome.

+ 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 latest date
    By fitzt70 in forum Excel General
    Replies: 5
    Last Post: 07-16-2013, 03:36 AM
  2. Find the Latest Date
    By davidhale87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2013, 05:20 PM
  3. Find Latest Date
    By Loisw in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-22-2011, 06:09 AM
  4. To find the latest date
    By Christeen in forum Excel General
    Replies: 13
    Last Post: 05-19-2011, 07:49 PM
  5. Find latest date for each row
    By scuba79 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2005, 06:05 PM

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