+ Reply to Thread
Results 1 to 3 of 3

VLookup and Min Date

  1. #1
    Registered User
    Join Date
    05-04-2016
    Location
    411
    MS-Off Ver
    Office 2013
    Posts
    1

    VLookup and Min Date

    Hi - I have a data set with customer purchases, and I'm looking to get the date of their earliest purchase. I have their name in column A and the dates of their purchase in column B. How do I create two new columns that has customer name in one column and their earliest purchase date in the second? Thanks for your help!

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: VLookup and Min Date

    Hi and welcome
    Pivot table. Use customer name and minimum of the date
    Happy with my advice? Click on the * reputation button below

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: VLookup and Min Date

    Try this...

    If you don't already have a list of the unique names you can use advanced filter to generate it:

    http://contextures.com/xladvfilter01.html#FilterUR

    Data Range
    A
    B
    C
    D
    E
    1
    Name
    Date
    ------
    Name
    Date
    2
    Name3
    9/29/2008
    Name1
    7/2/2007
    3
    Name4
    4/13/2014
    Name2
    8/11/2010
    4
    Name5
    7/22/2011
    Name3
    5/8/2008
    5
    Name4
    11/29/2002
    Name4
    11/29/2002
    6
    Name2
    8/11/2010
    Name5
    7/22/2011
    7
    Name1
    3/10/2008
    8
    Name3
    5/8/2008
    9
    Name4
    8/2/2004
    10
    Name1
    7/2/2007
    11
    Name5
    7/30/2011


    This array formula** entered in E2:

    =MIN(IF(A$2:A$11=D2,B$2:B$11))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Format as Date

    Copy down as needed
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. need to vlookup a date and Need to sum a column based on a date
    By Rossovich in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-10-2015, 02:01 PM
  2. Replies: 0
    Last Post: 11-16-2015, 08:57 AM
  3. [SOLVED] Converting Date Text to Number format to use in a VLOOKUP to polpulate data based by date
    By Rossovich in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-08-2015, 10:43 AM
  4. VLOOKUP: Date vs. Date Issue
    By civitarl in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-31-2015, 07:16 PM
  5. Replies: 2
    Last Post: 12-21-2013, 07:44 PM
  6. Replies: 4
    Last Post: 07-13-2011, 05:43 PM
  7. Replies: 1
    Last Post: 12-13-2010, 08:07 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