Working on a spreadsheet. I want to drop rows 98 through 102, as well as row 164 & 117.
But I cannot figure out how.
Formula in use: =(query(query(IMPORTHTML("https://www.tcgplayer.com/categories/trading-and-collectible-card-games/disney-lorcana/price-guides/the-first-chapter","table"),"select Col2,Col5,Col6,Col7"),"select * order by Col2 ASC",1))
Note: I don't know anything about formulas. You're going to have to spell it out for me.
Tried to "delete Row." It just loads back in.
I found several google search results for dropping or selecting specific columns, but google didn't help with results for dropping rows.
Also found a formula for removing duplicate rows. I don't have duplicates. I just have rows I want to eliminate.
You are importing data from a website using
IMPORTHTML. You want to "remove" given row numbers.There are probably several ways to answer this question. Using
QUERY, it is not a matter of deleting "rows" based on a row number but using theWHEREclause to exclude records based on data attributes.There are two attributes to exclude:
where not Col5 = 'None' and not Col2 contains '(Oversized)'The
NOTqualifier will exclude these attributes.NOTappears before the relevant comparison clauseandwill exclude both of the attributes