+ Reply to Thread
Results 1 to 3 of 3

Finding a Min Value if value in one column less than 0 and second column is not blank

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    Oregon
    MS-Off Ver
    Excel 2010
    Posts
    4

    Question Finding a Min Value if value in one column less than 0 and second column is not blank

    I'm trying to find the minimum of a range of values in one column but only if the range is less than 0 and the range of values in the same cell but different column has text in it.

    I've used this to find the minimum value without the check on the second column and it's working:
    {=MIN(IF(D3:D93<0,D3:D93))}

    I've tried this logic for checking the second column but it's not working correctly:
    {=MIN(IF(AND(D3:D568<0, ISTEXT(C3:C568)=TRUE),D3:D568))}

    Any help would be much appreciated!
    Last edited by Evolved; 11-14-2012 at 03:31 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Need A Lil Help Please:

    You can't use AND in array formulae. Try it this way:

    {=MIN(IF((D3:D568<0)*(ISTEXT(C3:C568)),D3:D568))}

    or slightly simpler:

    {=MIN(IF((D3:D568<0)*(C3:C568<>""),D3:D568))}

    Hope this helps.

    Pete

    P.S. Next time use a thread title that describes your problem - see the Forum Rules at the top of the screen.

  3. #3
    Registered User
    Join Date
    11-14-2012
    Location
    Oregon
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Finding a Min Value if value in one column less than 0 and second column is not blank

    Thanks for the quick reply!

+ 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