+ Reply to Thread
Results 1 to 5 of 5

Find oldest data, based on a criteria in another row

  1. #1
    Registered User
    Join Date
    09-24-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    30

    Find oldest data, based on a criteria in another row

    How do I find the oldest date here for "apples"


    =MIN(E4:E5000) gives me oldest date for apples pears and nectarines.
    Dates in column E and variables in colum C

    Apples 1-9-2008 11:55
    Apples 4-9-2008 11:55
    Apples 5-9-2008 11:55
    Apples 6-9-2008 11:55
    Pears 29-9-2008 11:55
    Pears 4-9-2008 11:55
    Pears 5-9-2008 11:55
    Pears 6-9-2008 11:55
    Nectarines 29-9-2008 11:55
    Nectarines 4-9-2008 11:55
    Nectarines 5-9-2008 11:55
    Nectarines 6-9-2008 11:55


    Thanks!

  2. #2
    Registered User
    Join Date
    09-24-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Find oldest data, based on a criteria in another row

    I tried this:

    =MIN(IF(C1:C5000=G1,E1:E5000))

    Where G1 contains the word Apples
    However get a formula error.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Find oldest data, based on a criteria in another row

    hi dutchdog, assuming your fruits are in Column C & dates in Column E, copy this formula into the formula bar:
    =MIN(IF(C2:C5000="Apples",E2:E5000))

    press CTRL + SHIFT + ENTER to confirm
    Attached Files Attached Files
    Last edited by benishiryo; 10-05-2012 at 02:53 AM. Reason: Added file

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    09-24-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Find oldest data, based on a criteria in another row

    Quote Originally Posted by benishiryo View Post
    hi dutchdog, assuming your fruits are in Column C & dates in Column E, copy this formula into the formula bar:
    =MIN(IF(C2:C5000="Apples",E2:E5000))

    press CTRL + SHIFT + ENTER to confirm
    The formula contains an error.

    Thats what I typed.. I dont understand..

    I paste it in the formula field, go stand in the formula with my cursor and press ctrl shift enter..

  5. #5
    Registered User
    Join Date
    09-24-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Find oldest data, based on a criteria in another row

    Anyone any clues? Using excell 2003

+ 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