+ Reply to Thread
Results 1 to 4 of 4

Can't find the min of a lookup reference

  1. #1
    jaret1976
    Guest

    Can't find the min of a lookup reference


    I have an array of cells in one sheet, which I am trying to find the
    minimum value, based on a condition.

    Example:
    Sheet: Data Sheet
    Floor SquareFeet
    1 500
    1 550
    1 425
    2 345
    2 370
    3 500
    4 400

    Sheet: Summary Sheet
    Floor 1 Min. Sq.Ft
    1 425
    2 345
    etc

    I need to be able to sort the data sheet on various other criteria, so
    the value that the summary sheet retrieves needs to be dynamic. If
    anyone could help me on this, it would be greatly appreciated!!

    - Jaret


    --
    jaret1976

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Try something like

    =MIN(IF(A1:A100=1,B1:B100))

    confirmed with CTRL+SHIFT+ENTER

  3. #3
    jaret1976
    Guest

    Re: Can't find the min of a lookup reference


    This works perfect. I had this equation long into my trial and error,
    but had an issue because of the CTRL+SHIFT+ENTER. What exactly does
    that confirmation do? I guess I never came across the issue, but until
    I did this, my results were flawed.

    Thanks a ton!

    daddylonglegs Wrote:
    > Try something like
    >
    > =MIN(IF(A1:A100=1,B1:B100))
    >
    > confirmed with CTRL+SHIFT+ENTER
    >
    >
    > --
    > daddylonglegs
    > ------------------------------------------------------------------------
    > daddylonglegs's Profile:
    > http://www.excelforum.com/member.php...o&userid=30486
    > View this thread:
    > http://www.excelforum.com/showthread...hreadid=511567



    --
    jaret1976

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    CTRL+SHIFT+ENTER is required for what are sometimes known as "array formulas" see here for some more detail

    http://www.cpearson.com/excel/array.htm

+ 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