Hi @Dipak Sodha
Please try formula like following one:
=INDEX(A$1:A$17,SMALL(IF($A$4:$A$17="","",ROW($A$4:$A$17)),ROW(A1)))
Then you may drag the formula down and to the right until it stops at #NUM!.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.