Lucas Duarte Almeida
Lucas Duarte Almeida

Reputation: 121

Adding BY column in query function

In google sheets, whenever I try to return the column BY using =QUERY() it identifies it not as a column, but as a command. How would I return that specific column using this formula?

Upvotes: 0

Views: 20

Answers (1)

Max Makhrov
Max Makhrov

Reputation: 18717

try this:

=QUERY(BX:BY,"select BX, `BY`")

More info here: https://developers.google.com/chart/interactive/docs/querylanguage#Identifiers

And posiible solution:

=QUERY({BX:BY},"select Col1, Col2")

Upvotes: 1

Related Questions