• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

I need to find the highest value in column A < given value and > 0

I need to find the highest value in a column a < given value
and > 0
AND
I need to find the lowest value in a column a > given value
and >0

I attached a sample workbook and highlighted the two cells in yellow where I want to retrieve the value
 

Attachments

Maybe:

=IF(B9="L",MAX(IF(((A1:A59<>0)*(A1:A59<D9)),A1:A59)),"")

=IF(B10="H",MIN(IF(A1:A59<>0,IF(A1:A59>D9,A1:A59))),"")

Array formula
 
Back
Top