So I have this table, my goal is to remove the ones that are bold. The logic is to remove the rows which contain additional FALSE value, so I would end up with a FALSE, TRUE, FALSE, TRUE row.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]False[/TD]
[/TR]
[TR]
[TD]True[/TD]
[/TR]
[TR]
[TD]False[/TD]
[/TR]
[TR]
[TD]False[/TD]
[/TR]
[TR]
[TD]False[/TD]
[/TR]
[TR]
[TD]True[/TD]
[/TR]
</tbody>[/TABLE]
Why?
I am scraping a site which has this annoying little html gimmick where the table is actually in a list format so when I paste it into Excel it looks like this, in the second column I am using the formula ISNUMBER:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Apple[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]2.07[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]Microsoft[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]USA[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]IT[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]1.42[/TD]
[TD]TRUE[/TD]
[/TR]
</tbody>[/TABLE]
I want the bold lines to be gone, so I would end up with a company name and a value.
I have been trying but couldn't come up with a real solution, I am also open to a VBA approach!
Thanks in advance!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]False[/TD]
[/TR]
[TR]
[TD]True[/TD]
[/TR]
[TR]
[TD]False[/TD]
[/TR]
[TR]
[TD]False[/TD]
[/TR]
[TR]
[TD]False[/TD]
[/TR]
[TR]
[TD]True[/TD]
[/TR]
</tbody>[/TABLE]
Why?
I am scraping a site which has this annoying little html gimmick where the table is actually in a list format so when I paste it into Excel it looks like this, in the second column I am using the formula ISNUMBER:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Apple[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]2.07[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]Microsoft[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]USA[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]IT[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]1.42[/TD]
[TD]TRUE[/TD]
[/TR]
</tbody>[/TABLE]
I want the bold lines to be gone, so I would end up with a company name and a value.
I have been trying but couldn't come up with a real solution, I am also open to a VBA approach!
Thanks in advance!
Last edited: