+ Reply to Thread
Results 1 to 3 of 3

Finding the minimum for each group

  1. #1
    Registered User
    Join Date
    10-16-2007
    Posts
    1

    Finding the minimum for each group

    Name Date
    A 5/9/1997
    A 8/19/1998
    B 3/3/1997
    B 12/19/2003
    B 7/1/2004
    C 3/30/2006
    C 6/20/2006


    I would like a single function that returns the earliest date for each name listed. I know the solution is simple but I cannot figure it out. Thanks so much for your help!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    =Min(IF($A$2:$A$100="A",$B$2:$B$100)) will return earliest date in range B2:B100 where A2:A100 = "A".

    The formula must be confirmed with CTRL+SHIFT+ENTER not just ENTER...you will see { } brackets appear around the formula.

    repeat for each name

    if you list the names separately, you can replace "A" with a cell reference containing that name and then you can copy down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-08-2006
    Location
    Austin TX
    MS-Off Ver
    2010
    Posts
    1
    I just used this formula with a second "IF" function to filter multiple criteria and it worked great. Thank you !

    Cal

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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