Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old October 24th 08, 04:48 PM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 1,560
Default Delete rows with specific text

Hi all,
I have figured out how to use the replace feature to replace certain
words or lines with others. My question is: Can this or any other feature be
used to delete entire rows? For example, I have several rows to be deleted
spread out over a worksheet that is hundreds of pages long. All of these
rows begin with the word "press". Any suggestions? Thank you very much.
--
Thanks,
David

  #2   Report Post  
Old October 24th 08, 05:38 PM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Oct 2006
Posts: 84
Default Delete rows with specific text

Two options.

1. Can you sort your data? If so, sort based on the cell that begins with
"press" then all of the rows you need to delete will be together and you can
delete those in one step.

2. If you can't sort the data, then use the AUTOFILTER feature (Data menu).
This will allow you to hide the rows that don't begin with "press" and then
delete those in one step.

Bob Tulk
MOUS (XP/97)

"David" wrote:

Hi all,
I have figured out how to use the replace feature to replace certain
words or lines with others. My question is: Can this or any other feature be
used to delete entire rows? For example, I have several rows to be deleted
spread out over a worksheet that is hundreds of pages long. All of these
rows begin with the word "press". Any suggestions? Thank you very much.
--
Thanks,
David

  #3   Report Post  
Old October 25th 08, 12:59 AM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Nov 2006
Posts: 2,344
Default Delete rows with specific text

Hi,

In 2002 or 2003
1. Highlight the column of data containing the word "press"
2. Press Ctrl+F
3. Enter Press in the Find what box
4. Click Options if necessary and make sure that Match entire cell contents
is unchecked
5. Click Find All, the first found item is highlighted in the window,
6. scroll down until you can see the last item
7. Hold down the Shift key and click the last item - all the items are
selected.
8. Click Close.
9. Press Ctrl+- (Ctrl and Minus keys), choose Entire row.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"David" wrote:

Hi all,
I have figured out how to use the replace feature to replace certain
words or lines with others. My question is: Can this or any other feature be
used to delete entire rows? For example, I have several rows to be deleted
spread out over a worksheet that is hundreds of pages long. All of these
rows begin with the word "press". Any suggestions? Thank you very much.
--
Thanks,
David

  #4   Report Post  
Old October 25th 08, 07:36 PM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Oct 2008
Posts: 1,805
Default Delete rows with specific text

Thanks Shane,

I had forgotten about this 'trick'...

"ShaneDevenshire" wrote:

Hi,

In 2002 or 2003
1. Highlight the column of data containing the word "press"
2. Press Ctrl+F
3. Enter Press in the Find what box
4. Click Options if necessary and make sure that Match entire cell contents
is unchecked
5. Click Find All, the first found item is highlighted in the window,
6. scroll down until you can see the last item
7. Hold down the Shift key and click the last item - all the items are
selected.
8. Click Close.
9. Press Ctrl+- (Ctrl and Minus keys), choose Entire row.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"David" wrote:

Hi all,
I have figured out how to use the replace feature to replace certain
words or lines with others. My question is: Can this or any other feature be
used to delete entire rows? For example, I have several rows to be deleted
spread out over a worksheet that is hundreds of pages long. All of these
rows begin with the word "press". Any suggestions? Thank you very much.
--
Thanks,
David

  #5   Report Post  
Old October 27th 08, 01:28 PM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 1,560
Default Delete rows with specific text

Thanks guys, you are helpful as always.
--
Thanks,
David


"ShaneDevenshire" wrote:

Hi,

In 2002 or 2003
1. Highlight the column of data containing the word "press"
2. Press Ctrl+F
3. Enter Press in the Find what box
4. Click Options if necessary and make sure that Match entire cell contents
is unchecked
5. Click Find All, the first found item is highlighted in the window,
6. scroll down until you can see the last item
7. Hold down the Shift key and click the last item - all the items are
selected.
8. Click Close.
9. Press Ctrl+- (Ctrl and Minus keys), choose Entire row.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"David" wrote:

Hi all,
I have figured out how to use the replace feature to replace certain
words or lines with others. My question is: Can this or any other feature be
used to delete entire rows? For example, I have several rows to be deleted
spread out over a worksheet that is hundreds of pages long. All of these
rows begin with the word "press". Any suggestions? Thank you very much.
--
Thanks,
David



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
Delete only specific fill colored rows? >Excel Excel Worksheet Functions 1 August 1st 08 05:08 AM
Delete specific rows of data Roger Bell New Users to Excel 3 June 19th 07 08:40 AM
Macro to delete rows containing specific data Slohcin New Users to Excel 2 December 20th 06 11:52 AM
select and delete specific rows Paulg Excel Discussion (Misc queries) 1 August 22nd 06 04:12 PM
Delete rows if specific criteria not met. SITCFanTN Excel Worksheet Functions 3 July 5th 06 12:20 AM


All times are GMT +1. The time now is 09:14 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017