How can I delete cells, (note not the content of these cells, but the cells
themselves) within a list that contain a specific value '0' without changing
the order of the remaining items in the list?
MartinW - 30 Oct 2007 09:20 GMT
Hi Chris,
Try this,
Assuming your list is in column A.
Put this in helper column B =IF(A1=0,NA(),"")
and drag down to the end of your data.
While column B is still highlighted tap the F5 key,
This will bring up the Go To dialog box
Click the Special button
Check Formulas
Uncheck Numbers, Text and Logicals
Leave Errors checked And OK out
This will leave only the #NA errors highlighted
Right click on one of these
Select delete and check Entire row
OK and you should be done.
HTH
Martin
> How can I delete cells, (note not the content of these cells, but the
> cells themselves) within a list that contain a specific value '0' without
> changing the order of the remaining items in the list?
Chris Mitchell - 30 Oct 2007 10:25 GMT
Thanks Martin, does exactly what it says on the tin.
> Hi Chris,
>
[quoted text clipped - 20 lines]
>> cells themselves) within a list that contain a specific value '0' without
>> changing the order of the remaining items in the list?
MartinW - 30 Oct 2007 10:51 GMT
Glad to hear that Chris. Thank you.
Regards
Martin
> Thanks Martin, does exactly what it says on the tin.
>
[quoted text clipped - 22 lines]
>>> cells themselves) within a list that contain a specific value '0'
>>> without changing the order of the remaining items in the list?
Lori - 30 Oct 2007 12:37 GMT
In xl2002+ you can choose Edit > Find, type '0' then Find All.
Select all items in the list (Ctrl+A) then Edit > Delete > Entire Row.
On 30 Oct, 07:22, "Chris Mitchell"
<chris.a.mitch...@NOSPAMbtinternet.com> wrote:
> How can I delete cells, (note not the content of these cells, but the cells
> themselves) within a list that contain a specific value '0' without changing
> the order of the remaining items in the list?
Don Guillett - 30 Oct 2007 14:04 GMT
data>filter>autofilter>>>>>>

Signature
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
> How can I delete cells, (note not the content of these cells, but the
> cells themselves) within a list that contain a specific value '0' without
> changing the order of the remaining items in the list?