I am using the following formula:
=IFERROR(INDEX($A$16:$A$21,SMALL(IF($A$16:$A$21<>"",ROW($A$16:$A$21)-ROW($A$16)+1,ROW($A$21)),ROW(A1))),"")
Which removes blank lines, but it is only when there is one blank in between rows. How can I alter this formula, to account for varying number...