Deleting rows between specific text

chadski778

Active Member
Joined
Mar 14, 2010
Messages
297
How do i delete all rows between two specific strings, for example, 'density' and 'flash point' in the whole spreadsheet? The row with 'density' has to be deleted but not the row with 'flash point' on.

Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Can you elaborate a bit. Does 'density' and 'flash point' occur only once in your spreadsheet. Which column is your data in??
 
Upvote 0
Do you need to do a lot of this? (Where we might think about helping you put together a macro to automate the task.) Or is this just a one-of situation? (Where we can just tell ya how to do 'er quick.)
 
Upvote 0
I will have to do a lot of this. We take an extract from a database but there is a lot of junk that needs deleting out. Unfortunately, I can't do a record macro because some of the data doesn't always come out in the same place
 
Upvote 0
Would you always look for the same word to mark the starting deletion point and the same work to mark the ending deletion point?
 
Upvote 0

Forum statistics

Threads
1,224,593
Messages
6,179,791
Members
452,942
Latest member
VijayNewtoExcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top