+ Reply to Thread
Results 1 to 7 of 7

Find min and equal value

  1. #1
    Forum Contributor
    Join Date
    08-22-2013
    Location
    US
    MS-Off Ver
    Mac Version 2011
    Posts
    126

    Find min and equal value

    Hi,

    Is there a formula to say all the values are equal, like Min and Max formula to find highest and lowest values. For example I have 15 columns, I want to say find the lowest value and return the header of that value, or if all these values are equal, start from the beginning.

    A B C D F E
    2 2 3 4 1

    So, the formula would help me find and return F in column E. If all these values are equal, then at column E I would see A as the value and so on.

    Note: If we can do this vertically, that would be awesome too, otherwise, it's ok.

    Thanks.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,632

    Re: Find min and equal value

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

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,842

    Re: Find min and equal value

    Put this under E (cell F2 ?):

    =INDEX($A$1:$E$1,MATCH(MIN(A2:E2),$A2:$E2,0))

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    08-22-2013
    Location
    US
    MS-Off Ver
    Mac Version 2011
    Posts
    126

    Re: Find min and equal value

    That works! Thanks guy!

  5. #5
    Forum Contributor
    Join Date
    08-22-2013
    Location
    US
    MS-Off Ver
    Mac Version 2011
    Posts
    126

    Re: Find min and equal value

    Btw, just curious, can we achieve the same result vertically? Like:

    A B
    1 1
    2 1
    3 2
    4 2
    5 0
    6

    So basically row 6 now is acting like column E before. It would return 5 as value.

    Thanks.

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,632

    Re: Find min and equal value

    Yust reverse rows and columns:

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

  7. #7
    Forum Contributor
    Join Date
    08-22-2013
    Location
    US
    MS-Off Ver
    Mac Version 2011
    Posts
    126

    Re: Find min and equal value

    That works, thanks again zbor

+ 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. NEED HELP: How to Find an Equal Values ?
    By joh46k in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-12-2013, 04:41 AM
  2. Find Possible Sum Combinations That Equal Given Value
    By mdsyam in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-11-2012, 04:21 AM
  3. Find values NOT equal to x
    By lqlqlq in forum Excel General
    Replies: 1
    Last Post: 04-25-2012, 04:22 PM
  4. VLOOKUP to find value equal to or less than
    By Brenda42 in forum Excel General
    Replies: 3
    Last Post: 11-28-2010, 06:53 PM
  5. Find equal or Next Date
    By guggu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2010, 10:41 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