Remove blank rows

halcyoneus

Board Regular
Joined
Mar 26, 2003
Messages
147
Got a quick (and probably easy for most of you) question.

I have a spreadsheet that was imported into Excel. It's a couple thousand rows long, but there are many blank rows through out. is there an easy way to remove all these, other then manually going through each row?

~Hal
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
not sure is this a quick way but you can try this
select the column
press F5
Go to specials
select blank

by doing this you will highlight the blank row
then right click the blank row and select delete


hope this may help
 
Upvote 0
Another alternative might be to use Autofilter.

Highlight column headings go to Data>>Filter>>Autofilter

Then select a column where it would only blank if the whole row was blank (perhaps an ID or date or something)

Filter the (Blanks) then Select All, Right Click then delete.
 
Upvote 0
Actually neither worked. When I first read excelthong's reply, I thought for sure it was going to work. When I do that, it goes to the first blank cell, even after selecting the whole row.

Dave3009, your way did not filter out the blank rows.

~Hal
 
Upvote 0
Got a quick (and probably easy for most of you) question.

I have a spreadsheet that was imported into Excel. It's a couple thousand rows long, but there are many blank rows through out. is there an easy way to remove all these, other then manually going through each row?

~Hal

Run Data|Filter|Advanced Filter on the data...
Book2
ABCDEFGHIJ
1XYZXYZ
21w0.2TRUE1w0.2
3 30.7
430.7x0.4
5x0.4
6
Sheet1


with $G$1:$G$2 as the Criteria range, where

G1 is empty

G2:

=A2&B2&C2<>""
 
Upvote 0

Forum statistics

Threads
1,213,553
Messages
6,114,279
Members
448,562
Latest member
Flashbond

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