+ Reply to Thread
Results 1 to 5 of 5

Vlookup earliest date by name

  1. #1
    Registered User
    Join Date
    10-22-2015
    Location
    Lithuania
    MS-Off Ver
    2010
    Posts
    32

    Vlookup earliest date by name

    Hello,

    I have this kind of data (attached).

    I need to find earliest date from column B by Name and Surname (in Sheet1) and put it in another list with Names and Surnames (Sheet2).
    There is a lot of data, so i thought about vlookup, but any other way to do it quickly will be very helpful!

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Vlookup earliest date by name

    Hi
    Try this formula in Sheet2!B2 and drag down (format as text)
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,639

    Re: Vlookup earliest date by name

    In B2, copied down:

    =MIN(IF(Sheet1!$A$2:$A$8=Sheet2!A2,Sheet1!$B$2:$B$8))

    confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Format the cells in column B as dates.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    10-22-2015
    Location
    Lithuania
    MS-Off Ver
    2010
    Posts
    32

    Re: Vlookup earliest date by name

    Thank you very much! Both functions worked, only that AliGW's returned earliest date (oldest) and Jose Augusto's latest. Thank you both!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,639

    Re: Vlookup earliest date by name

    You asked for the earliest, didn't you? Glad to have helped!

+ 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: 3
    Last Post: 02-10-2016, 07:26 PM
  2. Replies: 1
    Last Post: 11-25-2015, 03:31 PM
  3. Expert Required: How to display the values of a date or the next earliest date
    By newtotheblock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-19-2015, 12:02 PM
  4. [SOLVED] Displaying Earliest Date using VLOOKUP
    By Jennsy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-02-2012, 02:28 PM
  5. [SOLVED] Formula that displays the oldest date and earliest date
    By mrcois in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-20-2012, 12:22 AM
  6. Pivot Automation: Remove earliest date and add 1 date (Rows)
    By 4am in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2011, 04:50 PM
  7. Vlookup to Return Earliest Date
    By marco168 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2007, 11:12 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