Create ImportRange with Google Apps Script Code in Google Sheets

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024
  • In this tip, we will learn how to bypass some of the limitations of importrange
    ➤You can find the template from this video in my patreon page, where you´ll also have priority responses to your questions
    practicalsheet...
    You can also join my academy practicalsheets.com, where you´ll find, not only the templates for this and all the videos, but also Google Sheets Courses, technical service, and more
    ➤You can also subscribe to the channel where you´ll find a new Sheets video every week.
    Here are some of the places where you can follow and support me:
    ➤Patreon: practicalsheet...
    ➤Webpage: practicalsheet...
    ➤Newsletter: practicalsheet...
    ➤Telegram: practicalsheet...
    ➤Facebook: practicalsheet...
    ➤Twitter: practicalsheet...
    Any suggestion, question or insights, feel free to comment below

Комментарии • 21

  • @gasparlam4267
    @gasparlam4267 Год назад

    Great tutorial! I have been looking for solution like this for months! My solution is to copy paste the range at the start of a day and write the importrange formula at the bottom of the "old range". So this would import only the new data coming in for today and it is in real time. Please consider using this method and automate it everyday :)

  • @abdullahquhtani4247
    @abdullahquhtani4247 Год назад

    Excellent and will be great if it is possible to import ONLY new records of the imported range I imported earlier.
    I hope you got my point 😊

  • @DumitruDolinta
    @DumitruDolinta 5 месяцев назад +1

    Great tutotrial, thank you! But I have a question. What if I need to import from few sheets and get values only from some of collumns?

    • @practicalsheets
      @practicalsheets  5 месяцев назад

      IF you need several Tabs from the same Sheet you will still need one ImportRange per Tab. For the columns you may use CHOOSECOLS. It would be something like this
      {CHOOSECOLS(IMPORTRANGE(ID;Range1);1;2);CHOOSECOLS(IMPORTRANGE(ID;Range2);2;3)}
      Regards!

    • @jonathantogonon-b7h
      @jonathantogonon-b7h 9 дней назад

      @@practicalsheets can you show video tutorial for this

  • @mohammadaakib3841
    @mohammadaakib3841 2 месяца назад +1

    @practicalsheet I have did same but when I delete some rows from input data then it's gets deleted from importantrange sheet as well, I want once data import from input sheet it should be paste value and if new data entered in input sheet then also added in importrange sheet as values only

    • @practicalsheets
      @practicalsheets  2 месяца назад

      this is a bit more complex, we should update almost day by day and check all rows
      I'll think about an updated video
      Kind Regards

  • @Uh-e8r
    @Uh-e8r 6 месяцев назад +1

    Great Video. Now, How to "paste" or "import" that range of data to the spesific cell that we want ? Can u help ? Please that would be Like Copy paste using GAS

    • @practicalsheets
      @practicalsheets  5 месяцев назад

      Hi!
      I'm not sure if I understand. In the video I try to do that
      Kind Regards

  • @MohammadAakib-bz7xw
    @MohammadAakib-bz7xw 5 месяцев назад

    Thank you for sharing your knowledge it's an useful video. But I have one problem if some of entries delete from source than it's also getting deleted from IR sheet, values should be there if some entries deleted from source so how to do that? pls reply soon

    • @practicalsheets
      @practicalsheets  5 месяцев назад

      It´s much more tricky, because then we wold have to compare row by row and see if it still exists
      Let me think abut it
      Kind Regards

  • @kritikuz
    @kritikuz 6 месяцев назад +2

    Help me sir, Importrange always ref! Internal import error.

    • @practicalsheets
      @practicalsheets  5 месяцев назад

      Were you able to solve?
      Regards!

    • @kritikuz
      @kritikuz 5 месяцев назад

      Yes, I solved with google app script🎉😆

    • @kritikuz
      @kritikuz 5 месяцев назад

      From
      =Importrange() formulas is not efficient

  • @user-kq4vq6rk2m
    @user-kq4vq6rk2m Год назад

    if we have data from multiple sheets in the same format and I need to compile and append it in a worksheet how can i do it

  • @sanjayabhatta3056
    @sanjayabhatta3056 7 месяцев назад

    using this code will it be able to import more that 50,000 rows?

  • @AkhmadGifari
    @AkhmadGifari 7 месяцев назад +1

    how fast the loading than importrange or appscript?

    • @practicalsheets
      @practicalsheets  7 месяцев назад

      I think ImportRange will work a bit faster
      Regards!

    • @AkhmadGifari
      @AkhmadGifari 7 месяцев назад +1

      why you made this tutorial when the formula =importrange is faster than appscript? 😁@@practicalsheets

    • @practicalsheets
      @practicalsheets  7 месяцев назад

      It depends in how you define "faster"
      importrange has 2 advantages: is more practical, and refreshes constantly
      But it also has disadvantages and limitations. It crashes with large amounts of data, and the updates are "when it wants to". You could program your GAS code to update whenever you´d like it to
      Regards!
      @@AkhmadGifari