Name A1:J1 as d and use the matrix formula:
=IFERROR(INDEX(d,SMALL(IF(d<>"",COLUMN(d)-CELL("col",d)+1),COLUMNS($E:E))),"")
for listing the first non-blank text. Copy the formula to the right to list second, third etc. non-blank text.
If you do not want to use IFERROR, you can instead use:
=IF(COLUMNS($E:E)>SUM(--(d<>"")),"",INDEX(d,SMALL(IF(d<>"",COLUMN(d)-CELL("col",d)+1),COLUMNS($E:E))))
|