+ Reply to Thread
Results 1 to 5 of 5

Using Index Match with a Criteria to return a minimum

  1. #1
    Registered User
    Join Date
    12-30-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    39

    Using Index Match with a Criteria to return a minimum

    Please Login or Register  to view this content.
    Hi guys,

    I have three columns of data: A: Site, B: Calls, C: Dollars. Let's say each column has 9 data entries.

    In enlglish, this is what I am trying to achieve. Return the name of the site that has the minimum dollars, as long as that site takes at least x amount of calls. If it does not take at least x amount of calls, return the name of the site with the next smallest dollar amount. To put it another way, only consider sites that take at least x amount of calls.

    Right now, this is where I am at. I am able to return the name of the site with the minimum dollars no problem, but am having trouble inserting in the "if the site takes at least x amount of calls" part.

    Please Login or Register  to view this content.
    Please let me know if you need any further clarification of my problem.

    Thanks in advance!

    David

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Using Index Match with a Criteria to return a minimum

    Are there duplicate sites, i.e. Site A might be in row 2,7, and 13 with a combined calls of 52?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    12-30-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: Using Index Match with a Criteria to return a minimum

    No duplicate sites. Unique site in each row.

  4. #4
    Registered User
    Join Date
    12-30-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: Using Index Match with a Criteria to return a minimum

    I actually was able to figure this out.

    Please Login or Register  to view this content.
    And made it an array formula.

    Thanks!

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Using Index Match with a Criteria to return a minimum

    Nice job!

    This works too (array formula)

    =INDEX(A2:A10,MATCH(MIN(IF(B2:B10>52, C2:C10)),$C$2:$C$10,0))

+ 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. Index Match using two criteria to return on of criteria values
    By RogueLeader in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2014, 09:50 AM
  2. Replies: 1
    Last Post: 11-06-2013, 08:37 PM
  3. [SOLVED] Equivalent of an index match but return all values that meet the criteria
    By Brumbot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-19-2013, 04:32 AM
  4. Replies: 3
    Last Post: 06-15-2012, 04:19 PM
  5. [SOLVED] Return a value:index/match against multiple criteria on another sheet
    By Southfish in forum Excel General
    Replies: 3
    Last Post: 04-30-2012, 11:08 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