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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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