Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
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  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Delete rows with specific text

Note: Make sure to save a backup of your original data before deleting any rows, as this action cannot be undone.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
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

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
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

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
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



  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
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 12:52 PM
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 11:50 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"