# Googlesheets ... Whats the best way to

**URL:** <https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229>\
**Category:** Ask for Help\
**Created:** [February 3, 2020, 8:37pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229 "2020-02-03T20:37:07Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [February 3, 2020, 10:42pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/21 "2020-02-03T22:42:05Z")

</div>

One question : are the headers the same in the 2 tabs of the IMPORTRANGE? They must be…

---

<div class="post-metadata">

**Author:** ![Woody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/woody/32/2768_2.png) [@Woody](https://community.glideapps.com/u/Woody)\
**Post date:** [February 3, 2020, 10:52pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/22 "2020-02-03T22:52:20Z")

</div>

yes in row 1 and 2 is the header, so trying to get info from row A3:J3 Down

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [February 3, 2020, 10:57pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/23 "2020-02-03T22:57:59Z")

</div>

Ok, so put A:J in the IMPORTRANGE, then instead of “1” at the end if the formula, put “2”

---

<div class="post-metadata">

**Author:** ![Woody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/woody/32/2768_2.png) [@Woody](https://community.glideapps.com/u/Woody)\
**Post date:** [February 3, 2020, 11:01pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/24 "2020-02-03T23:01:05Z")

</div>

=QUERY({IMPORTRANGE(“1ODR1M5ERbGUlk\_AMxKwyXlC6dwcBcHWfz-KIYnQM5bQ”,“Kaneb!A:J”),IMPORTRANGE(“1nlhoEQXmA9w4l9FrO2S58Qypef13XjRzLIjvNCnuMXo”,“NigsII!A:J”)},“Select \* Where Col1 is not null”,2)

arrrgh still not and i am still looking thru youtube videos

when i do just importrange for one sheet all is well …everything comes in!

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [February 3, 2020, 11:04pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/25 "2020-02-03T23:04:52Z")

</div>

Try to execute your formula first with only the first IMPORTRANGE. Check what happened.

Then do the same but with the second importrange only and check.

There’s maybe an Sheet ID correct, in this case instead of the ID alone, try with the full url of your sheets for both importrange.

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [February 3, 2020, 11:07pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/26 "2020-02-03T23:07:03Z")

</div>

An idea! If row 2 is the header, so the import range should be A2:J, then a Mt the end of the formula you put 1

---

<div class="post-metadata">

**Author:** ![Woody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/woody/32/2768_2.png) [@Woody](https://community.glideapps.com/u/Woody)\
**Post date:** [February 3, 2020, 11:09pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/27 "2020-02-03T23:09:20Z")

</div>

i tried both of what you suggested son of a gun this isn’t that difficult but im missing something

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [February 3, 2020, 11:13pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/28 "2020-02-03T23:13:27Z")

</div>

You still have a parsing error with ")) added at the end if the line?

---

<div class="post-metadata">

**Author:** ![Woody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/woody/32/2768_2.png) [@Woody](https://community.glideapps.com/u/Woody)\
**Post date:** [February 3, 2020, 11:14pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/29 "2020-02-03T23:14:26Z")

</div>

yes

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [February 3, 2020, 11:14pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/30 "2020-02-03T23:14:38Z")

</div>

Make screenshots of the two sheets used as data source, at least few rows for each. Else we will never succeed. Thanks!

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [February 3, 2020, 11:38pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/32 "2020-02-03T23:38:19Z")

</div>

Look at my sheet, nearly the same setup than yours (but source data and the query formula on the same sheet). It works fine, as expected, without the blank rows.

> **[aaaaa](https://docs.google.com/spreadsheets/d/1EecSYgr3rHIcis_uEhmEnb29_UYEmvrp9XmG0s1WPyY/edit?usp=sharing)**
>
> Feuille 1
> 
> ROW1,ROW1,Nig's II,aa,bb
> H1,H2,H3,H1,H2,H3,Bob,ee,ff
> Nig's II,aa,bb,Woody,cc,dd,Woody,cc,dd
> John,hh,ii
> Bob,ee,ff
> John,hh,ii

I don’t understand what happened with your sheets…

Can you share the links of your 2 sheets?

---

<div class="post-metadata">

**Author:** ![Woody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/woody/32/2768_2.png) [@Woody](https://community.glideapps.com/u/Woody)\
**Post date:** [February 3, 2020, 11:45pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/33 "2020-02-03T23:45:31Z")

</div>

give me ur email and i share to ya

and  
=QUERY({IMPORTRANGE(“1EZUgNwG799LCPFZ\_gaKVRIb1o6Ir6RxoWMtz0vuBtxc”,“Kaneb!A3:C”);IMPORTRANGE(“1nlhoEQXmA9w4l9FrO2S58Qypef13XjRzLIjvNCnuMXo”,“NigsII!E3:G”)},“select \* where Col1 is not null”)  
this worked for those columns but when i change it to A3:J … Got it now  
YEAH

---

<div class="post-metadata">

**Author:** ![Woody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/woody/32/2768_2.png) [@Woody](https://community.glideapps.com/u/Woody)\
**Post date:** [February 3, 2020, 11:51pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/34 "2020-02-03T23:51:29Z")

</div>

Christophe\_hk … you da man!

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [February 3, 2020, 11:54pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/35 "2020-02-03T23:54:34Z")

</div>

👯‍♂️👯‍♂️👯‍♂️👯‍♂️👯‍♂️👯‍♂️😄

---

<div class="post-metadata">

**Author:** ![Woody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/woody/32/2768_2.png) [@Woody](https://community.glideapps.com/u/Woody)\
**Post date:** [February 3, 2020, 11:56pm UTC](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229/36 "2020-02-03T23:56:26Z")

</div>

so now how ever many sheets i get just follow suite and is should be good ty soo much! i owe ya a beer or three

[Previous page](https://community.glideapps.com/t/googlesheets-whats-the-best-way-to/4229.md?page=1)
