Row elimination problem

  • Thread starter Thread starter zerconian
  • Start date Start date
Z

zerconian

I am a novice Excel user and this forum has been extremely helpful i
the past.
I have an inventory list with one of the columns being quantity.
How does one eliminate the rows (hundreds ) with 0 in the qantit
column in order to compact the list to only what is in stock?
Thanks in advance for any help
 
Zerconian, the AutoFilter feature will do the trick. Click in the data, then
Data (menu) > Filter > AutoFilter. In the Quantity column, click the down
arrow and select Custom. In the Custom AutoFilter dialog box, set up the
criteria to say Inventory is greater than 0, then OK. (BTW, Data > Filter >
AutoFilter will remove the filter.)

A more drastic measure: Data > Filter > AutoFilter. In the Quantity column,
click the down arrow and select 0. Select all the rows and delete them. Then
Data > Filter > AutoFilter.

DDM
"DDM's Microsoft Office Tips and Tricks"
www.ddmcomputing.com
 
zerco

Right-click on the worksheet tab and "move or copy".

Checkmark in "create a copy".

On that copied sheet...

Select the quantity column then Data>Filter>Autofilter.

Filter for 0 in that column.

All rows with 0 will be displayed. Select these.

Edit>Go To>Special>"Visible cells only">OK

Edit>Delete Row(answer yes)

Done. Turn off Autofilter.

If happy, delete the original sheet.

Alternate method which will re-arrange your rows, perhaps not what you want.

Select all the columns. Data>Sort>Sort by quantity column>ascending.

All 0's will rise to the top. Select these and Edit>Delete Row.

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top