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

Result should be with no blank cells

dears
good day
in attached sheet actual output in column A contains blank cell what i want only is to get the
output without blank cells.
many thanks
 

Attachments

Try..........

In E16, array formula copy down :

=IFERROR(INDEX(F$7:F$14,SMALL(IF(INDEX(G$7:AG$14,,MATCH(B$2,G$5:AG$5,0)+MATCH(B$3,G$6:I$6,0)-1)="Y",ROW(F$7:F$14)-ROW(F$7)+1),ROWS($1:1))),"")

P.s. array formula should be confirmed enter in press with SHIFT+CTRL+ENTER 3 keystrokes together.

Regards
Bosco
 

Attachments

Here is another solution but a longer one :(

=IFERROR(INDEX($E$7:$E$14,SMALL(IF(((OFFSET(INDIRECT(ADDRESS(7,MATCH($B$2&$B$3,$F$5:$AF$5&$F$6:$AF$6,0)+5)),0,0,8,1))="Y")*1*ROW($A$1:$A$8)=0,FALSE,((OFFSET(INDIRECT(ADDRESS(7,MATCH($B$2&$B$3,$F$5:$AF$5&$F$6:$AF$6,0)+5)),0,0,8,1))="Y")*1*ROW($A$1:$A$8)),ROW(A1))),"")

With ctrl+shift+enter. A brief explanation is this.
 

Attachments

Back
Top