I have a Log file which I have imported to Excel and I have filtered Col C based on a Criteria. Now I want to search through Col E for "TRUE". For every instance of "TRUE", I want to select the rows above it for Col D,E until I find an empty cell in Col E, copy those and paste it into a new worksheet in the same workbook.
As per the picture above, I want to copy Rows 9 to 1 in worksheet1 and Skip copying Rows 20 to 10 (Because Col E has FALSE) and copy rows 31 to 21 in worksheet2.

Loopto run thought the columns and theIfyou find what you are looking for start anotherLoopto search up for the required text. Then assign that Range and copy it to the new sheet.