1

Why this function does not display results for one of the ranges? With no QUERY the results are displayed correctly.

QUERY({
IMPORTRANGE("url";"Sheet1!A1:B5");
IMPORTRANGE("url";"Sheet2!A1:B5");
IMPORTRANGE("url";"Sheet3!A1:B5")};
"SELECT Col1, WHERE Col1 IS NOT NULL")
2
  • I removed the jQuery tag because it's not a jQuery question Commented Jan 10, 2021 at 15:52
  • 1
    "Why this function does not display results for one of the ranges?" There may be mixed data on the specific range. In any case please share a test sheet so you can be easier helped. Commented Jan 10, 2021 at 18:22

1 Answer 1

2

try:

=ARRAYFORMULA(QUERY(TO_TEXT({
 IMPORTRANGE("url"; "Sheet1!A1:B5");
 IMPORTRANGE("url"; "Sheet2!A1:B5");
 IMPORTRANGE("url"; "Sheet3!A1:B5")});
 "select Col1 where Col1 is not null"; 0))
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.