+ Reply to Thread
Results 1 to 6 of 6

Min with multiple criteria

  1. #1
    Forum Contributor
    Join Date
    05-05-2014
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2013
    Posts
    103

    Min with multiple criteria

    Hello,

    I am looking for the minimum 10 values for cells j3:j12 from column D. The criteria is the values in column C must match those in cells f3:f12. Here is my formula:
    =INDEX(D1:D292,MATCH(MIN(SUMPRODUCT(F3:F14=C1:C292),D1:D292),C1:C215,0),1)
    I've had a lot of issues figuring this out so any help is appreciated!
    Thanks,
    Laura
    Attached Files Attached Files

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Min with multiple criteria

    Try this..

    In J3..
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag downward for more results..

    Confirm the formula using Ctrl + Shift + Enter, Not Just Enter..
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Forum Contributor
    Join Date
    05-05-2014
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2013
    Posts
    103

    Re: Min with multiple criteria

    Thanks! Now do you know how I would return the corresponding value in column A. I tried this but then it ignores the criteria:
    =INDEX(A1:A292,MATCH(SMALL(IF(COUNTIF($F$3:$F$14,$C$1:$C$215)=1,$D$1:$D$215,"-"),ROW($A1)),D1:D292,0),1)

    Thanks!

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Min with multiple criteria

    Hello Laura,

    Try this in J3 with CTRL+SHIFT+ENTER,

    =INDEX(F$3:F$14,MATCH(1,FREQUENCY(0,IFERROR(1/(SUMIF(C:C,F$3:F$14,D:D)*ISNA(MATCH(F$3:F$14,J$2:J2,0))),1)),0))

    Then copy down.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Min with multiple criteria

    Laura, disregard my previous post. I missed your 'minimum 10 values'

  6. #6
    Forum Contributor
    Join Date
    05-05-2014
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2013
    Posts
    103

    Re: Min with multiple criteria

    Ok no problem. Thanks.

+ 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. [SOLVED] UDF for sum of multiple criteria in multiple columns and single criteria in multiple colum
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 11-22-2013, 04:26 AM
  2. Count statement wtih multiple criteria only showing results for one criteria
    By uhlabomber in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2013, 02:47 PM
  3. [SOLVED] create drop down box to select multiple criteria and link macro to each criteria
    By anand_erin in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-03-2012, 06:35 PM
  4. Replies: 2
    Last Post: 10-05-2011, 12:43 PM
  5. MACROS: Sort by multiple criteria - Create tabs based off of criteria
    By svineyard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2009, 10:48 AM

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