+ Reply to Thread
Results 1 to 6 of 6

INDEX, MATCH and MIN functions

  1. #1
    Registered User
    Join Date
    07-12-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    9

    INDEX, MATCH and MIN functions

    HI guys, would appreciate some help. I am trying to lookup two separate criteria and return the minimum price. I've attached a spreadsheet as an example. I've tried INDEX, MATCH and MATCH before I add in the MIN function but it doesn't seem to work. Your advice would be greatly received Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: INDEX, MATCH and MIN functions

    Try this array function:

    =MIN(IF(($D$5:$D$156=J1)*($C$5:$C$156=I1)*($G$5:$G$156<>"")=1,$G$5:$G$156,10^6))

    After you place the function in the cell, press cntrl+shift+enter
    Attached Files Attached Files
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: INDEX, MATCH and MIN functions

    Try

    =MIN(IF(C5:C200=I1,IF(D5:D200=J1,IF(G5:G200<>0,G5:G200))))

    Array formula, use Ctrl-Shift-Enter
    Last edited by Special-K; 03-12-2015 at 01:14 PM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: INDEX, MATCH and MIN functions

    yes, similar, just watch out for the blanks :D

  5. #5
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: INDEX, MATCH and MIN functions

    Try:

    Please Login or Register  to view this content.
    Entered as an array.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: INDEX, MATCH and MIN functions

    Array entered

    =SMALL(IF((C5:C156=I1)*(D5:D156=J1)*(G5:G156<>""),G5:G156),1)

    ***Array formula must be entered by using key combination of CTRL+SHIFT+ENTER and not just ENTER
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. Help with index and match functions
    By romasasss in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2013, 02:47 AM
  2. [SOLVED] Help with INDEX/MATCH functions
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 10-29-2012, 09:33 AM
  3. Index and Match functions
    By bmark in forum Excel General
    Replies: 3
    Last Post: 05-01-2012, 06:02 PM
  4. Using Index() & Match() functions
    By Walter349 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2006, 09:23 AM
  5. Index and Match Functions
    By Damien in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-29-2006, 05:20 PM

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