![]() |
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 |
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.
|
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 06:29 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com