Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default How do I Remove Rows that match a criteria

I have data that I am filtering based on State. I want to remove all the rows
that have 'TX' in State Column. I used data filtering and from the dropdown,
selected 'TX'. When I get the filtered data, I select the rows and 'delete'.
The problem is, it deletes every other row as well. I migrated from exel 2003
to 2007 and see a 'bug' where 2007 can not remove the selected rows only...
Quite frustrating. Is there any way to achieve this without writing any macro?

Thanks
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default How do I Remove Rows that match a criteria

Hi

You are quite correct. The behaviour is not the same as with
AutofilterSelectDelete.
However, if you click on a cell within your data and choose InsertTable
then use the dropdown on the filter created on your state header to
select TX.
Now, mark the rows, right click and the options will be Delete Rows (as
opposed to Delete) and your rows with TX will disappear (sorry Don<bg).
Click on the Filter and choose Show All and the remainder of the data
will be there.

--
Regards

Roger Govier


"Mahesh" wrote in message
...
I have data that I am filtering based on State. I want to remove all
the rows
that have 'TX' in State Column. I used data filtering and from the
dropdown,
selected 'TX'. When I get the filtered data, I select the rows and
'delete'.
The problem is, it deletes every other row as well. I migrated from
exel 2003
to 2007 and see a 'bug' where 2007 can not remove the selected rows
only...
Quite frustrating. Is there any way to achieve this without writing
any macro?

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default How do I Remove Rows that match a criteria

Roger,

Thanks so much for the information. It saved me a lot of time.

- Mahesh

"Roger Govier" wrote:

Hi

You are quite correct. The behaviour is not the same as with
AutofilterSelectDelete.
However, if you click on a cell within your data and choose InsertTable
then use the dropdown on the filter created on your state header to
select TX.
Now, mark the rows, right click and the options will be Delete Rows (as
opposed to Delete) and your rows with TX will disappear (sorry Don<bg).
Click on the Filter and choose Show All and the remainder of the data
will be there.

--
Regards

Roger Govier


"Mahesh" wrote in message
...
I have data that I am filtering based on State. I want to remove all
the rows
that have 'TX' in State Column. I used data filtering and from the
dropdown,
selected 'TX'. When I get the filtered data, I select the rows and
'delete'.
The problem is, it deletes every other row as well. I migrated from
exel 2003
to 2007 and see a 'bug' where 2007 can not remove the selected rows
only...
Quite frustrating. Is there any way to achieve this without writing
any macro?

Thanks




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count rows that match 3 sets of criteria? EricE Excel Worksheet Functions 3 December 29th 05 04:26 PM
Count rows that match criteria in 2 different column cell ranges JoAnn New Users to Excel 2 December 9th 05 05:51 PM
How can I retrieve multiple rows that match one criteria, i.e. a d Morgs Excel Worksheet Functions 3 September 1st 05 03:19 PM
How to get number of rows which match criteria kiranmani Excel Worksheet Functions 6 July 11th 05 03:41 PM
Copy Rows if Lookup Criteria Match vdoubleu Excel Discussion (Misc queries) 0 March 29th 05 06:43 PM


All times are GMT +1. The time now is 06:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"