+ Reply to Thread
Results 1 to 13 of 13

Using MIN function to return equal minimum values

  1. #1
    Registered User
    Join Date
    03-09-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Exclamation Using MIN function to return equal minimum values

    Hi,

    I would greatly appreciate if someone could help me--I have been searching on here for hours but nothing seems to apply exactly to my problem. Let me give you some context:

    I have an Excel worksheet with survey results on love attitudes. I have already created basic SUM formulas to calculate each person's score for each of the 6 kinds of love. But now I need a formula that picks out the MINIMUM score(s) and spits out which type of love (column) they belong to. I want it to include all "ties," so if someone scored equally low in more than 1 type of love, I want it to be brought to my attention as well.

    To visualize this, please see attached Excel file.

    The function I have in AF2 to make the type of love with the MIN score appear is this:
    =INDEX($Z$1:$AE$1,MATCH(MIN(Z2:AE2),Z2:AE2,0))

    Thanks bunches for any help you can provide!!
    Last edited by somegirl6230; 03-10-2013 at 12:17 PM.

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Using MIN function to return equal minimum values

    pictures are not data..can't work with them... upload a sample workbook (see signature below for details), then you will probably get a far faster answer a
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    03-09-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Using MIN function to return equal minimum values

    Ok I have uploaded a portion of it now. Thanks!!

  4. #4
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Using MIN function to return equal minimum values

    somegirl, welcome to the forum.

    Have a look at the following thread: http://www.excelforum.com/excel-form...-required.html which includes 2 methods to return the results of multiple matches in a single cell.

    Hope this helps.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Using MIN function to return equal minimum values

    See if this is what you are looking for:Social Psychology Survey_ Love Attitudes2sol1.xlsx
    Also did the high readings, as the formula is basically the same, just did a search replace of the MIN to MAX
    the formula is a bit cumbersome, but it works...lol
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope this helps

  6. #6
    Registered User
    Join Date
    03-09-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Using MIN function to return equal minimum values

    Wow, thanks dredwolf!! I'm trying to pick it apart to understand it so I know for next time, but I think it is a bit over my head :o I want to become this savvy one day!

  7. #7
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Using MIN function to return equal minimum values

    You are welcome
    The formula is actually rather simple, just looks complex because of the length, all it does is check each cell in the range to see if it equals the lowest value in the range, if it does, add it to the list with a "; " separator,The LEFT() function just strips off the last "; " so that it looks better (also increases the length of the formula...because it needs to do the same calculation twice to get the lenght..but the results look more "Profesional" )
    The initial 'IF(' part just says that if the first cell in the range is blank, return a blank, otherwise, find the results !

    Hope that made sense !

  8. #8
    Registered User
    Join Date
    03-09-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Using MIN function to return equal minimum values

    Ahh true, yeah I was just confused by the initial IF and was not familiar with LEFT but after viewing it in the formula window I can see it more clearly now. You're right, it's just the length of it that seems intimidating. But thanks, I knew there had to be another way besides VBA or something more complicated.


  9. #9
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Using MIN function to return equal minimum values

    Well, In a range as small as we are looking at, this works, but if the range gets much bigger, so does the formula ! , sometimes VBA is the right way to go, and some people prefer it
    But you are very welcome

  10. #10
    Registered User
    Join Date
    03-09-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Using MIN function to return equal minimum values

    True, good point! Also I am playing around with it and realized, if I put aesthetics aside, I can shorten the formula by just using a numeric length (say, 80 characters just to be sure). It has the ";" but it's an option since it's just for myself to see. Now I will use this function in the future!

  11. #11
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Using MIN function to return equal minimum values

    Glad to hear you are experimenting with the solution! That is the Best way to learn things !
    if you really do not care about the last "; ", this formula is about as short as it gets :
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ( I think I remembered all the braces...lol )

  12. #12
    Registered User
    Join Date
    03-09-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Using MIN function to return equal minimum values

    Even shorter than mine since I forgot to take out the LEFT thing but that makes total sense. Thanks

  13. #13
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Using MIN function to return equal minimum values

    You are welcome

+ 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