The code in post #10 does that for me. I copied your sheet from post #14 to my sheet then copied that column H formula down column H to row 80.
I then ran the code and then the only rows with anything left in them were rows 15 to 20.
If that is not happening for you then it would seem that there is something different between your actual data/workbook and what you gave us in post #14. If there is something different then you are going to need to give us some of that different data or at least tell us what the difference is.
A couple of other things to consider that have been raised before but not addressed.
@josros60
Are you sure that you tried the post #10 code?
If you have and it did not do what you want, can you post another mini-sheet that includes some extra rows like you are describing in words but so far not including in your mini-sheet?
Now I'm a little confused as to whether your data is in a formal Excel table (ListObject) or just a normal range that you are referring to as a "table".
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.