1

I'm trying to use this function, however, it's not working and giving me the error

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

I'd appreciate any help!

=QUERY(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1zGAiiV_vJba_VnCnJAwHHtZAL_GW_SbsHzKYAMRB3w0/edit#gid=614551224", "Sokkary!A:K"),"Select A,B,D,E,I,J,K where B >= date '"&TEXT(DATEVALUE("03/04/2024"),"yyyy-mm-dd")&"'")

1 Answer 1

1

You need to use Col# notation:

"A,B,D,E,I,J,K" becomes "Col1,Col2,Col4,Col5,Col9,Col10,Col11"

So the final formula becomes:

=QUERY(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1zGAiiV_vJba_VnCnJAwHHtZAL_GW_SbsHzKYAMRB3w0/edit#gid=614551224", "Sokkary!A:K"),"Select Col1,Col2,Col4,Col5,Col9,Col10,Col11 where Col2 >= date '"&TEXT(DATEVALUE("03/04/2024"),"yyyy-mm-dd")&"'")
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.