+ Reply to Thread
Results 1 to 5 of 5

formula or vba help on vlookup to get latest date from multiple lookup value of SO's

  1. #1
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    formula or vba help on vlookup to get latest date from multiple lookup value of SO's

    Dear Experts

    I have 2 set of columns A:B A contains So's No B contains Date's I want get vlookup result latest date through from multiple so's&Date(range A:B)...apply formula in G:G

    For E.g
    For single So's & Date

    Multiple So's & Date
    7021097935 06-03-2014 result 10-03-2014
    7021097935 06-03-2014
    7021097935 10-03-2014
    7021097935 10-03-2014
    7021097935 10-03-2014
    7021066551 12-03-2014result 12-03-2014
    7021066551 19-02-2014
    7021066551 19-02-2014
    7021066551 21-02-2014
    7021066551 26-02-2014
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: formula or vba help on vlookup to get latest date from multiple lookup value of SO's

    Try this array formula:

    =MAX(IF($A$2:$A$853=F2,$B$2:$B$853))

    ...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. Press F2 on that cell and try again.
    Quang PT

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: formula or vba help on vlookup to get latest date from multiple lookup value of SO's

    Bonus: extracting unique distinct list from columm A:

    In F3:

    =INDEX($A$2:$A$853,MATCH(0,COUNTIF($F$1:F2,$A$2:$A$853),0))

    Ctrl-shift-enter

    Drag down.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: formula or vba help on vlookup to get latest date from multiple lookup value of SO's

    Hi,

    Would you check your example.

    7021097935 is in A330 and F235. The date in G235 is 6th March 2014 and not 10-3-2014 as show in your OP. The other example is correct.

    So assuming it is a typo then use on row 2

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or maybe if you want the test string
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: formula or vba help on vlookup to get latest date from multiple lookup value of SO's

    thanks alot.......experts solved

+ 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 latest date when the name appeared either formula or vba multiple sheets
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2014, 08:24 PM
  2. 3 Way Lookup with Latest Date
    By lukeyboy103 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-06-2014, 12:40 PM
  3. [SOLVED] Latest date based on vlookup - mistake in formula
    By mathieuv in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2013, 04:22 AM
  4. Excel 2007 : Lookup a value and return the latest date
    By pinkshirt in forum Excel General
    Replies: 4
    Last Post: 07-04-2011, 06:13 AM
  5. Lookup Latest Date Using Multiple Criteria
    By maggioant in forum Excel General
    Replies: 2
    Last Post: 01-26-2010, 04:32 AM

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