+ Reply to Thread
Results 1 to 2 of 2

find the min value in a range with criteria

  1. #1
    Registered User
    Join Date
    12-09-2011
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Excel 2007
    Posts
    46

    find the min value in a range with criteria

    I currently use this formula to find the sum of L7:L46 range when the other criteria is met. I would like to find the min value in L7:L46 range using the same criteria.

    =IF(ISERROR(SUMIFS(L7:L46,L7:L46,">0",BX7:BX46,">0",CD7:CD46,">0")),"",((SUMIFS(L7:L46,L7:L46,">0",BX7:BX46,">0",CD7:CD46,">0"))))


    Thanks

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,365

    Re: find the min value in a range with criteria

    Hi,

    One way

    =IFERROR(MIN((L7:L46)*(L7:L46>0)*(BX7:BX46>0)*(CD7:CD46>0)),"")

    Don't forget that since you have XL2007 you can avoid 'doubling up' fomulae in =IF(ISERROR()) function by using the more efficient =IFERROR()

    Regards
    Richard Buttrey

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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