+ Reply to Thread
Results 1 to 9 of 9

Find Min Date based on criteria

  1. #1
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Find Min Date based on criteria

    Hi,

    I have searched the web for 30 min banging my head against the wall trying to get various formulas to work for this. I included a file to explain my problem.

    On the Min Formula tab I have 5 green cells where I need a formula to look at the fruit on the data tab and bring back the minimum date (earliest date) that is in a column far off to the left.


    Can someone help me with this?
    Attached Files Attached Files
    Last edited by caliskier; 05-06-2011 at 01:21 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Find Min Date based on criteria

    Hi Callskier,

    No formulas needed just a simple pivot table where you show the Min instead of sum or couunt or...
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Re: Find Min Date based on criteria

    Quote Originally Posted by MarvinP View Post
    Hi Callskier,

    No formulas needed just a simple pivot table where you show the Min instead of sum or couunt or...
    That would be a good option but in my real file, the two columns are separated by a bunch of data that I can't move, and the min formula goes into a tab that is formated a special way... long story short I need a formula, can't use a pivot table.

    Thanks though.

  4. #4
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Re: Find Min Date based on criteria

    Anyone else have any ideas? This does not need to be a date, I can work with it if it is a number

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Find Min Date based on criteria

    I don't see a second tab, nor any green cells...

    but basically try something like this:

    =MIN(IF($G$1:$G$19="Apple",$A$1:$A$19))

    You can replace "Apple" with a cell reference containing the word.

    Then confirm the formula with CTRL+SHIFT+ENTER not just ENTER and 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.

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Find Min Date based on criteria

    I can't see any green cells......

    Standard approach would be to use an "array formula"

    =MIN(IF(G1:G19="Apple",A1:A19))

    Formula needs to be confirmed with CTRL+SHIFT+ENTER so that curly braces like { and } appear around the formula in the formula bar
    Audere est facere

  7. #7
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Re: Find Min Date based on criteria

    Sorry I do not know how I lost my second tab, I tried your formula and could not get it to work. Here is my file again...
    Attached Files Attached Files

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Find Min Date based on criteria

    see attached.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Re: Find Min Date based on criteria

    Thanks Guys, we got this sucker fixed, i had a #NA in my list which was jacking me up.Your formula is exactly what i needed

+ 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