I am trying to stack vertically the results of these two QUERY functions:
QUERY(FILTER('Sheet1'!U8:AB;'Sheet1'!Z8:Z<>"N/A";'Sheet1'!Z8:Z<>"");"SELECT Col6, Col1";0) QUERY(FILTER('Sheet1'!AD8:AK;'Sheet1'!AH8:AH<>"N/A";'Sheet1'!AH8:AH<>"");"SELECT Col6, Col1";0)
(Separately, both QUERY worked correctly)
But I get the error message:
"In ARRAY_LITERAL, an Array Literal was missing values for one or more rows"
Following the solution shown in:
I tried using using this formula:
={QUERY(FILTER('Sheet1'!U8:AB;'Sheet1'!Z8:Z<>"N/A";'Sheet1'!Z8:Z<>"");"SELECT Col6, Col1";0);QUERY(FILTER('Sheet1'!AD8:AK;'Sheet1'!AH8:AH<>"N/A";'Sheet1'!AH8:AH<>"");"SELECT Col6, Col1";0)}
Obviously, both QUERY functions have a 2-column result. Of course, they may not have the same number of rows.
I also tried the solution shown in:
How to combine 2 Google Sheets Query tables chronologically by Date?
By using:
=QUERY({FILTER('Sheet1'!U8:AB;'Sheet1'!Z8:Z<>"N/A";'Sheet1'!Z8:Z<>"");FILTER('Sheet1'!AD8:AK;'Sheet1'!AH8:AH<>"N/A";'Sheet1'!AH8:AH<>"")};"SELECT Col6, Col1";0)
In both instances I keep getting the same error message.
Where is the error?
Thank you.