Forum

Notifications
Clear all

Formula to Extract a List Excluding Blanks

3 Posts
2 Users
0 Reactions
108 Views
(@soniboitm)
Posts: 10
Active Member
Topic starter
 

Dear Sir,

I have an excel formula copied from your website but it's not working in my own worksheet.

Formula source:   https://www.myonlinetraininghub.com/excel-remove-blank-cells-from-a-range (modified, attached).

Please help.

Thanks.

 
Posted : 30/07/2018 4:30 am
(@catalinb)
Posts: 1937
Member Admin
 

When there is a formula that returns zero length strings, those are not seen as blanks, but you can evaluate instead the length of the text in that cell:

=IFERROR(INDEX($A$2:$A$9, SMALL(IF(LEN($A$2:$A$9)=0,"", ROW($A$2:$A$9)-MIN(ROW($A$2:$A$9))+1), ROW(A1))),"")
 
Posted : 31/07/2018 6:17 pm
(@soniboitm)
Posts: 10
Active Member
Topic starter
 

Thanks to Catalin Bombea. I got my problem solved.

 
Posted : 31/07/2018 6:20 pm
Share: