Skip to main content
2 of 4
edited tags
Jacob Jan
  • 23.3k
  • 16
  • 106
  • 195

Querying data through importHTML function in google spreadsheet

I am trying to import table data into google spreadsheet using the below function

=ImportHTML( "http://eciresults.nic.in/StatewiseU05.htm" , "table" , 9 )

following is the result I get out of it.

Screenshot of table result

but i didnt want the content in row 1,2,3 & 4 to be displayed so I tried the query as following and got the below result

=QUERY(ImportHTML( "http://eciresults.nic.in/StatewiseU05.htm" , "table" , 9 ), "SELECT * OFFSET 0")

Screenshot 2

but i am still getting the NCT of Delhi content in row 1. How can i get rid of that and show only row 2 and onwards that contains the area name and subsequent data