Remove blanks from column & return data from entire row

Trip101

New Member
Joined
Jul 24, 2017
Messages
5
Need help and assistance please! I have a sheet with 16 columns (A – P) and approximately 30 rows. I have blanks throughout the sheet. I want to search for content in column ‘A’; remove blanks (rows) and copy cells (rows) with content in column ‘A’ and dump in columns R – AG!

I have tried the following array formulas (I started with a single column but realized I will have issues with blanks in other columns) and yes, I used shift/ctrl/enter with the arrays.
=IFERROR(INDEX($A$2:$A$50,SMALL(IF($A$2:$A$50<>"",ROW($A$2:$A$50)),ROW(C2))),"")
=IFERROR(INDEX($A$2:$A$25,SMALL(IF($A$2:$A$25<>"",ROW($A$2:$A$25)-ROW($A$2)+1,""),ROWS($A$2:A2))),"")
=IF(ROWS(F$2:F23)>COUNTA(A:A),"",INDEX(A:A,SMALL(IF(A$2:A$24<>"",ROW(A$2:A$24)),ROWS(F$2:F23))))
Need help please!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top