+ Reply to Thread
Results 1 to 13 of 13

Extract the lowest from the most repeated range

  1. #1
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Extract the lowest from the most repeated range

    Please help with a formula to get the lowest among the most repeated values.


    1
    1
    0.25
    0.5
    .5
    3
    4
    1
    .5


    I have used the formula =MODE(B2:B7,B2:B7) but it will give us the result 1 instead of 0.5

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,699

    Re: Extract the lowest from the most repeated range

    MODE works with whole numbers.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extract the lowest from the most repeated range

    Hi,

    =MIN(MODE.MULT(A1:A9))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extract the lowest from the most repeated range

    Quote Originally Posted by AliGW View Post
    MODE works with whole numbers.
    Not true! Works with non-integers as well.

    Regards

  5. #5
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Extract the lowest from the most repeated range

    Thank you for your time and appreciate your help
    If there is a criteria, how does it work?
    See the attached sample report.
    Attached Files Attached Files

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extract the lowest from the most repeated range

    Sure.

    =MIN(MODE.MULT(IF($A$2:$A$13=D3,$B$2:$B$13)))

    Or, more rigorously (in case no one Value for a given Item should occur more than once):

    =MIN(MODE.MULT(IF($A$2:$A$13=D3,{1,1}*$B$2:$B$13)))

    both with CSE.

    Regards

  7. #7
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Extract the lowest from the most repeated range

    You are the best.

  8. #8
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extract the lowest from the most repeated range

    You're welcome!

    Cheers

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,699

    Re: Extract the lowest from the most repeated range

    Quote Originally Posted by XOR LX View Post
    Not true! Works with non-integers as well.

    Regards
    I can't get it to recognise non-integers.

  10. #10
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extract the lowest from the most repeated range

    Quote Originally Posted by AliGW View Post
    I can't get it to recognise non-integers.
    Can you give an example to that effect?

    Cheers

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,699

    Re: Extract the lowest from the most repeated range

    MODE does not work with the non-integers here (but your example with MODE.MULT does):

    Excel 2016 (Windows) 32 bit
    B
    C
    D
    E
    2
    1
    1
    =MODE(B2:B10)
    3
    1
    0.5
    =MIN(MODE.MULT(B2:B10))
    4
    0.25
    5
    0.5
    6
    0.5
    7
    3
    8
    4
    9
    1
    10
    0.5
    Sheet: Sheet1

  12. #12
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extract the lowest from the most repeated range

    Hi Ali,

    It's not "not working" in that case.

    Remove one of the 1s and you'll see that the MODE formula happily returns 0.5.

    What you're seeing in your example is because there are 2 values (0.5 and 1) which share the mode. In such cases MODE returns that which occurs first in the list, which you can easily verify by re-ordering if you want.

    Cheers

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,699

    Re: Extract the lowest from the most repeated range

    It's odd - I tried that and it was not responding earlier with more 0.5 than 1 - I could not get it to change, and could only return results for integers. Having restarted Excel, it is now happily doing its stuff. Gremlins!!!

+ 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. Extract unique value from column of consecutive repeated values
    By hamang in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-26-2016, 04:37 AM
  2. Lookup Lowest Price for Repeated Item #s
    By EnigmaMatter in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-25-2016, 11:03 PM
  3. Extract name was repeated
    By shimaa01234 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-09-2015, 10:26 AM
  4. Finding the lowest value from repeated data
    By rovaniemi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-02-2013, 04:36 PM
  5. [SOLVED] extract data that is not repeated within this matrix
    By marreco in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-08-2012, 05:36 PM
  6. Extract repeated data from a range
    By mkvassh in forum Excel General
    Replies: 4
    Last Post: 05-05-2010, 09:15 AM
  7. Extract repeated words from Text string
    By Calman in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-14-2007, 10:22 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