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

Array Formula Clarity

David Evans

Active Member
I have an array formula that returns the following
{FALSE;FALSE;FALSE;FALSE;FALSE;TRUE;TRUE;FALSE}

I want to return the position of the second TRUE as a Row Number in the array, but I cannot get my head around it this morning ...

Any help is greatly appreciated.

D
 
{=SMALL($A$1:$A$8*ROW($A$1:$A$8),COUNTIF($A$1:$A$8,"=FALSE")+2)}

or

{=LARGE($A$1:$A$8*ROW($A$1:$A$8),COUNTIF($A$1:$A$8,"=TRUE")-1)}

perhaps?

or as an alternative to COUNTIF()

{=LARGE($A$1:$A$8*ROW($A$1:$A$8),SUM(--$A$1:$A$8)-1)}
 

Attachments

Last edited:
Back
Top