Try this array formula
=IFERROR(INDEX($A$1:$A$20,SMALL(IF($B$1:$B$20="Y",ROW($B$1:$B$20)),ROW(A1))),"")
just copy it down as far as you might need.
Hi I have a table with names down column A. In the next columns cells are either empty or have the letter Y. What I want to do is create a table that will look down for example column B and every time it comes to a letter Y the persons name that is the row header is listed in the new table. I have had some joy but the problem I have is for each row in the data table I have to have one in the table I'm trying to create. This means I have several rows blank then someone's name and so on
Try this array formula
=IFERROR(INDEX($A$1:$A$20,SMALL(IF($B$1:$B$20="Y",ROW($B$1:$B$20)),ROW(A1))),"")
just copy it down as far as you might need.
Thank you very much I have never entered an array before still dont know the difference between entering a normal formula and an array but it works!
Bookmarks