• 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.

Small Function With Multiple Condition

I am trying to pull the ranks using small function from sheet 2, by matching sector (C3 from Sheet1) with column B from Sheet 2.
But now I also want more condition to be added, i.e. it should pull only those Ranks which are less than cell B5)

Please help me with the same, I have tried adding multiple conditions, but its showing errors
 

Attachments

An alternative to nesting the IF statements is to use a product for the AND relationship between the two conditions
= IFERROR( SMALL( IF( (PrimarySegment=Segment)*(TSRRank<threshold), TSRRank), k ), "TSR<112")

I have left the defined names that I introduced to help me make sense of the formula but it should be obvious what they reference.
 
Back
Top