+ Reply to Thread
Results 1 to 3 of 3

Array: Min and Lookup

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-07-2009
    Location
    Spain
    MS-Off Ver
    Excel 2003
    Posts
    128

    Array: Min and Lookup

    I browsed through the forums and found a way to look up a specific cell from a data table using an array.

    =MIN(IF(Model!$E$6:$E$321=Summary!B13,Model!$G$6:$G$321," "))

    Summary!B13 Is the lookup value
    Model!$E$6:$E$321: Data table that contains the look up value
    Model!$G$6:$G$321: Value that will be put in that matches the lookup value.

    The change I would like to make is a constraint the output value will be the min that is greater than zero.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Array: Min and Lookup

    Try:

    =MIN(IF(Model!$E$6:$E$321=Summary!B13,IF(Model!$G$6:$G$321>0,Model!$G$6:$G$321)))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    03-07-2009
    Location
    Spain
    MS-Off Ver
    Excel 2003
    Posts
    128

    Re: Array: Min and Lookup

    You are the best. Closed

+ 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