+ Reply to Thread
Results 1 to 3 of 3

Do a MIN of a range of cells when they have a given value

  1. #1
    Registered User
    Join Date
    04-23-2014
    Location
    Lisbon
    MS-Off Ver
    Excel 2003
    Posts
    56

    Do a MIN of a range of cells when they have a given value

    Let's say I have:


    A B
    John 100
    Bob 200
    Anne 50
    Bob 300
    John 150
    John 75

    I want to do the =MIN in column B for each value of column A (so 1, 2, 3).

    For John would be 75, for Bob 200 and for Anne 50.

    Thanks in advance.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Do a MIN of a range of cells when they have a given value

    Use this array formula

    =MIN(IF(A1:A10="John",B1:B10))

    Confirm with Ctrl+Shift+Enter

    Change John to Bob, Anne etc for varying results or use a cell reference for the name
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    04-23-2014
    Location
    Lisbon
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Do a MIN of a range of cells when they have a given value

    THanks very much Ace_XL! It worked beautifully.

+ 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] Lock/Unlock range cells based on text value in other range cells
    By boboivan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-12-2014, 12:50 PM
  2. [SOLVED] Macro needed to clear cells in range based on value of cells in another range
    By msmith7113 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-05-2013, 12:32 AM
  3. [SOLVED] VBA Copy a range of cells values using the range of cells in a formula (which will change)
    By murtaep in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 06-05-2012, 07:59 AM
  4. Replies: 2
    Last Post: 05-31-2012, 05:37 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