Wednesday, December 14, 2022

[FIXED] How to select specific columns from array in Google Sheets query?

Issue

Let's say you only wanna select the first column. Cannot, it says 'NO_COLUMN: A'.

=query({O2:P4;O8:P9},"select A")  

enter image description here enter image description here

It is easy to select ALL columns.

=query({O2:P4;O8:P9},"select *")

enter image description here


Solution

use:

=QUERY({O2:P4;O8:P9}, "select Col1")


Answered By - player0
Answer Checked By - Senaida (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.