0

I am using this function =QUERY(INDEX(SUBSTITUTE(IMPORTHTML (I2 & "?refresh=" & I6,I3,I4), "*", )), "SELECT Col1, Col2, Col3, Col4 ORDER BY Col1 ASC")

This is returning data with the headers in between the table.

Also, can we use offset to avoid headers at all, if yes what would be proper syntax Link to importing page

https://www.ipowatch.in/p/ipo-subscription-numbers-status.html

player0
  • 124,011
  • 12
  • 67
  • 124
  • can you provide a minimal reproducible example ? https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example#:~:text=Basically%2C%20a%20minimal%20reproducible%20example,run%20on%20the%20given%20dataset – Mike Steelson Jan 28 '22 at 00:59
  • Could you provide an example sheet so we can check the outcome of what you are trying to do? That way the community can better help you out. – Gabriel Carballo Jan 28 '22 at 01:46
  • https://docs.google.com/spreadsheets/d/1wNmdJ44jfOUauHBfolhJ61-3ZLeHHRkLudVW9ZSSIJw/edit?usp=sharing this is the sheet – Vishal Chaudhary Jan 28 '22 at 09:38

1 Answers1

2

try:

=QUERY(INDEX(SUBSTITUTE({
 IMPORTHTML(I2&"?refresh="&I6, I3, I4), 
 IMPORTHTML(I2&"?refresh="&I6, I3, I5)}, "*", )), 
 "select Col1,Col2,Col3,Col4,Col6,Col7 order by Col1", 1)

enter image description here

demo sheet

player0
  • 124,011
  • 12
  • 67
  • 124