+ Reply to Thread
Results 1 to 8 of 8

Using the MIN function with multiple parameters

  1. #1
    Registered User
    Join Date
    08-22-2012
    Location
    Westfield, NJ
    MS-Off Ver
    Excel 2010
    Posts
    4

    Using the MIN function with multiple parameters

    Using the following table, I am trying to write a formula (in Excel 2010) which will identify the minimum value given two constraints (e.g., identify the minimum efficacy for all Non-compliant 34-Watt light bulbs):

    Wattage Compliant (C) or Non-compliant (NC) Efficacy
    34 C 90.2
    34 C 91.5
    34 NC 85.3
    34 NC 86.9
    40 C 89.1
    40 C 90.6
    40 NC 79.7
    40 NC 80.8
    32 C 100.8
    32 NC 87.5
    25 C 101.3
    25 C 98.9

    I have worked out a MINIF function which can return the minimum efficacy value of based on one variable (wattage or compliance) but cannot figure out how to accommodate the second variable.

    I have tried several times to nest the AND function into an IF function nested in the MIN function without success. Maybe I am approaching it from the wrong angle?

    FYI, I will need to identify the MAX and MIN Efficacy values for compliant (C) and non-compliant (NC) of each wattage variation within a similar, but much longer list in a second table like this:

    Description Min Max
    34W NC
    40W C
    40W C
    32W C

    Thanks in advance for any help you can offer!

  2. #2
    Registered User
    Join Date
    07-01-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Using the MIN function with multiple parameters

    How ironic that I come here looking to do the EXACT same thing and find this topic at the top of the list. (Although, I'm using Excel 2007, which I hope doesn't prevent me from utilizing any solutions that are eventually offered....).

  3. #3
    Forum Contributor CheshireCat's Avatar
    Join Date
    10-11-2011
    Location
    Victoria, Canada
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    258

    Re: Using the MIN function with multiple parameters

    Do you mean like this?
    Attached Files Attached Files
    Docendo discimus.

  4. #4
    Registered User
    Join Date
    08-22-2012
    Location
    Westfield, NJ
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Using the MIN function with multiple parameters

    CheshireCat, you are a beautiful person!
    Thank you very much!

    I came close to your version but never go there.

    Thanks again!

  5. #5
    Registered User
    Join Date
    07-01-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Using the MIN function with multiple parameters

    Yes, thank you!

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Using the MIN function with multiple parameters

    @ DRogersICF

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Using the MIN function with multiple parameters

    As a point of interest, you can avoid array formulae by combining the ranges within INDEX()

    The formulae might appear a tad more fearsome, but on larger worksheets they might prove less memory intense when calculating.

    See this workbook
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  8. #8
    Registered User
    Join Date
    08-22-2012
    Location
    Westfield, NJ
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Using the MIN function with multiple parameters

    @ Cutter

    Thanks for the reminder; I was going to test the recommended formulae on my dataset now (my kids just went to bed) and then mark it SOLVED...but you beat me to the punch.

+ 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