Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Unable to parse query string for Function QUERY parameter 2: NO_COLUMN: D

$
0
0

I have a set of data in a sheet called PASTE HERE, and i want to import some of that data into another sheet in the same workbook/google sheet. I don't want to use IMPORTRANGE as its not crossing multiple sheets, and when i duplicate the sheet i have to keep updating the sheet URL's in all the formula's.

So far i have this=QUERY("PASTE HERE!D1:I","SELECT D,E,F,G,H,I WHERE E is not NULL order by D ASC ",-1)

Which returns Error Unable to parse query string for Function QUERY parameter 2: NO_COLUMN: D

Column D contains an item number, so blank rows should be ignored, and the imported data should come in in numerical ascending item number order.

There is clearly a column D in the PASTE HERE sheet, with data in it.

NOTE this does work with IMPORT RANGE as below:=QUERY(IMPORTRANGE("My sheet URL","PASTE HERE!D1:I"),"SELECT Col1,Col2,Col3,Col4,Col5,Col6 WHERE Col2 is not NULL order by Col1 asc ",-1)

Any ideas what I'm doing wrong please?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>