Deleting hidden rows after a filter

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
700
Office Version
  1. 2010
Platform
  1. Windows
Hi:

How do I delete all hidden rows of a worksheet except those rows that meet
my filter criteria. I tried filtering and deleting the data that I do not want but my worksheet is too large.

Thanks for your help.

Sean
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Why not filter for the records you do want, and copy those to another worksheet or workbook?
 
Upvote 0
Hi

1) Select visible cell entirerow(s) after filter
2) unhide all rows
3) hide selected row(s)
4) delete visible row(s)
5) unhide all rows
 
Upvote 0
jindon said:
Hi

1) Select visible cell entirerow(s) after filter
2) unhide all rows
3) hide selected row(s)
4) delete visible row(s)
5) unhide all rows


Who do you unhide all rows? The only option I see is to undo the filter which unhides all rows. After following step 4 & 5, all I get is blank worksheet. Can you give me a little more information?

Tazguy37 - When I copy and paste into another worksheet, my formulas do not work. Also, I lose all my worksheet format.

Thanks for help so far.
 
Upvote 0
You need select the whole range that you want to apply autofilter then

1) Select visible cell entirerow(s) after filter (Edit -> Jump -> Visible cells)
2) unhide all rows (go to Data -> Filter)
3) hide selected row(s) (go to Format -> Row -> Hide -> Entirerow)
4) delete visible row(s) (go to Edit -> Jump -> Visible cells then Delete)
5) unhide all rows (select entiere sheet -> Format -> Row -> Unhide)
 
Upvote 0
Hi jindon

Thanks for your response.
 
Upvote 0

Forum statistics

Threads
1,219,161
Messages
6,146,657
Members
450,706
Latest member
LGVBPP

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