Внутренняя ошибка при импорте диапазона importrange как исправить

Содержание

  1. Внутренняя ошибка при импорте диапазона importrange как исправить
  2. Google Sheet IMPORTRANGE Ошибка «Внутренняя ошибка диапазона импорта», когда диапазон представляет собой просто столбец
  3. 5 ответов
  4. Листы дают внутреннюю ошибку importrange, но загружают данные при обновлении формулы
  5. Как обойти ошибку IMPORTRANGE: «Результаты слишком велики»?
  6. 4 ответа
  7. IMPORTRANGE Errors? Here are ways to solve them
  8. Common Solutions to Fix IMPORTRANGE errors:
  9. Formula Parse Error
  10. Spreadsheet cannot be found
  11. You don’t have permissions to access that sheet
  12. You need to connect these sheets
  13. Cannot find range or sheet for imported range
  14. Result was not automatically expanded
  15. Sometimes, IMPORTRANGE doesn’t work
  16. Why IMPORTRANGE Is Not Working: Errors and Fixes in 2023
  17. Common IMPORTRANGE internal errors
  18. #1 IMPORTRANGE #ERROR! – Formula parse error IMPORTRANGE
  19. How to fix
  20. #2 IMPORTRANGE #REF! – Permission error or You don’t have permissions to access that sheet
  21. How to fix
  22. #3 IMPORTRANGE #REF! – Allow access or You need to connect these sheets
  23. How to fix
  24. #4 IMPORTRANGE #Error! – IMPORTRANGE Result too large
  25. How to fix
  26. #5 IMPORTRANGE #REF! cannot find range or sheet for imported range
  27. How to fix
  28. #6 IMPORTRANGE #REF! – Frozen formulas
  29. How to fix
  30. How to fix all IMPORTRANGE errors at once: A peace of mind solution
  31. Import data between Google Sheets with Google Sheets integration
  32. Source
  33. Destination
  34. Schedule
  35. IMPORTRANGE or Coupler.io: Which is better?

Внутренняя ошибка при импорте диапазона importrange как исправить

Google Sheet IMPORTRANGE Ошибка «Внутренняя ошибка диапазона импорта», когда диапазон представляет собой просто столбец

«Внутренняя ошибка диапазона импорта».

=IMPORTRANGE(«https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm», «sheet1!B:C») , работает.

Это ошибка? до сих пор это был третий раз, когда мне приходилось менять их много раз? Есть ли какое-нибудь последовательное решение для этого? Я использую это решение временно

5 ответов

Это не могло быть решением проблемы. Я построил целую платформу интеграции данных на листах и ​​сильно полагаюсь на функциональность importrange для защиты доступа к источникам данных от пользователей. Теперь в последнее время #REF начал преследовать мои столы повсюду, и он делает все более или менее непригодным для использования.

Однозначно это ошибка или нехватка ресурсов.

Я думаю, что лучшим решением здесь будет использовать

Я не верю, что уклонение от кеша Google — это исправление или даже обходной путь.

Мы поддерживаем лист с функцией importrange на нескольких вкладках в течение многих лет, и только в течение последней недели возникла проблема.

Мы впервые заметили это в пятницу, а сегодня снова вернулись. В обоих случаях я не думаю, что сделал что-либо, чтобы исправить проблему, особенно сегодня. Я переместил формулу по листу, что привело к обновлению функции importrange, но это все равно привело к «внутренней ошибке диапазона импорта». Функция importrange отключилась на время (я не знаю, сколько сегодня, но я думаю, что это было не менее 15 минут), а затем разрешилась на всех вкладках без изменений.

Я думаю, что это определенно ошибка или Google возится с вещами на сервере. Может, нам нужно найти способ сделать все без использования importrange?

Эти ошибки обычно временные и проходят через несколько часов. Чтобы ускорить это, немного измените формулу импорта, заменив «sheet1!B:B» на «sheet1!B:b» — изменения регистра строчных букв достаточно, чтобы позволить вызову утилизировать кеш Google и получить свежие результаты, что должно позволить вам обойти проблему. .

В дополнение к двойному ответу вы также должны ограничить свой диапазон, чтобы не было большого количества мертвых строк. Так что что-то вроде B:B5000 вместо B:B .

Листы дают внутреннюю ошибку importrange, но загружают данные при обновлении формулы

у нас есть несколько листов, которые полагаются на importrange для получения данных из других листов Google, начиная с этой недели у нас возникли проблемы с загрузкой некоторых из них, мы просто получаем внутреннюю ошибку #ref import range.

Я пробовал множество решений, но все они, похоже, работают только временно, после чего при обновлении запроса иногда удается получить данные, размер диапазона не является проблемой, поскольку проблема возникает как при большом импорте, так и при импорте. которые получают только 1 ячейку.

пока лучшее решение, которое у меня есть, это удалить = из формулы, а затем добавить его обратно, чтобы снова загрузить данные, однако это длится всего около 30 минут, прежде чем importrange возвращается к той же ошибке.

в формулах нет ничего необычного

Я пробовал варианты заглавных букв для диапазонов, а также добавлял, если ошибка, чтобы попытаться загрузить вариант формулы

но, похоже, ничего не работает, а когда работает, решение не прилипает.

будем очень признательны за любую помощь или понимание того, что может быть причиной этой проблемы.

Как обойти ошибку IMPORTRANGE: «Результаты слишком велики»?

Я пытаюсь IMPORTRANGE из диапазона, содержащего 240 000 ячеек (40 столбцов и 6000 строк). Функция IMPORTRANGE ошибочна: «Результаты слишком велики». Я не могу найти документацию о ограничениях функции.

Каковы ограничения IMPORTRANGE?

Как мне обойти это, чтобы я мог импортировать эти данные в свой листок?

4 ответа

У меня тоже была аналогичная проблема.

Попробуйте разделить диапазон импорта с помощью формулы массива.

Протестируйте это с помощью разных размеров данных, чтобы получить самую короткую версию, и вы можете делать то, что вам нужно.

Пустые клетки могут иметь значение. Мы наблюдали нарушение импорта в ячейках 23573×11 или 259k, типичный рост составлял около 10 рядов ежедневно, поэтому мы некоторое время находились в ячейках более 250 тысяч. Один столбец в основном пустой, у пары других есть несколько пробелов.

Я не мог заставить ARRAYFORMULA разобрать, как показано выше, или с другими догадками, поэтому я использовал это на своей скрытой вкладке «Ingest».

=importrange(«sheet», «A1:K10000») в ячейке A1
=importrange(«sheet», «A10001:K») в ячейке A10001

В моей рабочей /презентационной вкладке используется

, чтобы обеспечить постоянное форматирование, наши исходные листы перезаписываются ежедневно.

Используя ответ Сэма и документацию для чтения, я нашел способ получить результат BIG DATA без ошибок. Для этого вам нужно сделать шаг за шагом. В одном запросе. Например, если вам нужно экспортировать данные sheet!A3:X100000 .

Попробуйте сделать следующее: сначала сделайте запрос и выберите только

после получения результата просто отредактируйте запрос из

после получения данных снова отредактировать запрос

и продолжайте, пока вы не будете богаты

таким образом я мог бы импортировать около 800 000 ячеек с данными. Для моей задачи этого было достаточно, но я думаю, что если мне нужны более длинные данные результата, я мог бы продолжить, и он будет работать.

Вы также должны помнить, что таблицы Google имеют ограничение на один максимум документа, может содержать только 2 миллиона ячеек.

Из моего опыта использования IMPORTRANGE количество ячеек не было причиной вообще, но в любое время, когда я превысил 36 столбцов, это не получилось. Мои результаты могут составлять 600 строк или 6000 строк, если я не превысил 36 столбцов. По иронии судьбы вы можете обойти это, объединив функции IMPORTRANGE.

Обратите внимание на фигурные скобки , используемые до и после двух функций IMPORTRANGE

Источник

IMPORTRANGE Errors? Here are ways to solve them

IMPORTRANGE is an effective data consolidation tool of Google Sheets. Learn how to harness this element and use it to better your work in Google Sheets.

  1. Formula parse error
  2. Spreadsheet cannot be found
  3. You don’t have permissions to access the sheet
  4. You need to connect these sheets
  5. Cannot find range or sheet for imported range
  6. Result was not automatically expanded
  7. Sometimes IMPORTRANGE doesn’t work
  • One Click Data Imports From Anywhere
  • Transform Spreadsheets into Software in Seconds
  • Pre-built & Custom Templates
  • Visualize Real-Time Data in Centralized Dashboards

The IMPORTRANGE function is a powerful way of consolidating data from different Google Sheets spreadsheets into a single spreadsheet. You can learn about it again here: How to Import Multiple Sheets Using the IMPORTRANGE FunctionВ

If you are having problems with IMPORTRANGE, here is your guide to solving them!

Common Solutions to Fix IMPORTRANGE errors:

  • Click the refresh button on your browser to refresh the google sheet
  • Make sure you are not calling the same data multiple times. Add it to a dedicated tab if necessary.
  • Make sure you aren’t importing a large number of empty rows.
  • Try changing the case for example IFERROR(IMPORTRANGE(«id», «A:A»), IMPORTRANGE(«id», «A:a»))
  • Check for dynamic functions like GOOGLESHEETS, DAY and TIME that update on every edit. Use static values instead.

Formula Parse Error

This simply means that you have a syntax error or two in the formula. Remember that the formula is formatted this way:

You should check the formula a few times to make sure it is correctly formatted. You should also consult our guide if you actually tried combining two or more IMPORTRANGE formulas into one.

Spreadsheet cannot be found

If this error appears, it is because you had a small mistake in copying the link. This simply means that you have a syntax error or two in the formula. Simply copy the link again, making sure you copy the entire link. If you got the link from another source and you correctly copied the link, contact your source to confirm if it is the right link.В

You don’t have permissions to access that sheet

It means that the privacy setting of the source sheet is not set to public, and that your Google account was not added to the list of users that can access it. Contact the owner of the source sheet to have your Google account added.

In case you’re sure you already have access to the sheet and are using more than one Google account in the same computer (which I do), check if you are accessing the sheet using the right Google account:

  1. Go to sheets.google.com, then click on the account icon on the upper-right corner of the screen.В The list of Google accounts logged in your browser will appear.В
  2. You may discover that you are using a different Google account; click the Google account that you are supposed to use.В

You can now create the spreadsheet again and add the same formula.

You need to connect these sheets

Don’t worry; this is just one step in using the IMPORTRANGE function. This means that you have access to the source sheet. Simply click the Allow access button. The data will now load to your own sheet.В

Cannot find range or sheet for imported range

In this case, there is an error in typing the range to be imported from the source sheet. Simply check if you have added it correctly in the space for the range.В

Result was not automatically expanded

This means that the range is too big for the current space allotted for the sheet.В

The first question you need to ask is: do you need all the rows and/or columns from the source sheet? Consider the fact that your computer may have a hard time processing a huge amount of data. If you don’t need all the data,, you should check the source sheet first for the rows and/or columns to include.

If you actually plan to summarize them, consider the following workarounds:

  1. Create a Pivot Table, then use IMPORTRANGE toВ import the summary. This requires you to have Editor rights, as you will create the Pivot Table in the same spreadsheet.В We have tutorials for it here:
  1. Use the QUERY function to filter the data. We have tutorials that you can follow:

If the error states that you have to insert more rows and/or columns and you really need all of them, then check out our tutorial on doing so: How to Add/Remove Rows and Columns in Google Sheets [2020 Tutorial]

Sometimes, IMPORTRANGE doesn’t work

It has been reported that sometimes, IMPORTRANGE simply doesn’t work. Unfortunately that problem is something we can’t solve. You can refresh the Google Sheets, load the spreadsheet again, or check it again later or tomorrow.

However, I know a better way of handling huge amounts of data. It’s called Lido app. You see, you don’t need to use IMPORTRANGE or even Pivot Table and QUERY functions. Lido app will handle the torrential amounts of data from the marketing and e-Commerce services you use, process them, and give you the charts and metrics that you are looking for in the first place. Interested? Sign up for free.

Источник

Why IMPORTRANGE Is Not Working: Errors and Fixes in 2023

Let’s say you opened your spreadsheet and found out that all your IMPORTRANGE formulas were not working? The previously imported data disappeared and refreshing won’t help get it back. Many Google Sheets users have already suffered from this known IMPORTRANGE drawback. To avoid it, you’d better use an alternative solution, which turns your spreadsheet into a sort of relational database. We’ll show you how to do this a bit later. But for now, let’s troubleshoot your IMPORTRANGE formula and fix the current error.

Common IMPORTRANGE internal errors

The common IMPORTRANGE errors are #ERROR! and #REF! . You can either read how to fix them or watch the video tutorial on the IMPORTRANGE function by Railsware Product Academy or do both. It’s up to you 🙂

#1 IMPORTRANGE #ERROR! – Formula parse error IMPORTRANGE

It’s kid’s stuff! Formula parse error means that you’ve made a mistake in the IMPORTRANGE formula syntax.

How to fix

Verify the formula syntax. Make sure to also validate the ID of the spreadsheet, as well as the sheet name specified in the range. These are the most common reasons for the formula parse error.

#2 IMPORTRANGE #REF! – Permission error or You don’t have permissions to access that sheet

This error states that “ You don’t have permissions to access that sheet .” In most cases, this means that you’re trying to import data from an unshared Google Sheets doc that is not stored on your Google Drive.

How to fix

Share the source spreadsheet with the owner of the target spreadsheet or make the file shareable with “ Anyone with the link .

#3 IMPORTRANGE #REF! – Allow access or You need to connect these sheets

This is more of a warning than an error. When you import a range from an unshared Google Sheets document stored on your Google Drive, IMPORTRANGE will require you to connect the source and the target sheets.

How to fix

Click the Allow access button to connect the sheets.

#4 IMPORTRANGE #Error! – IMPORTRANGE Result too large

You’ll see this error when you’re importing too many cells. Unfortunately, the exact amount of cells you can import with IMPORTRANGE is undisclosed. In our example, we tried to import 60 columns and 6000 rows (360,000 cells). After we decreased the data range to 4300 rows (258,000 cells), the IMPORTRANGE formula worked.

How to fix

Split the data range into two or more pieces, either vertically (by rows) or horizontally (by columns). Nest IMPORTRANGE formulas for each piece within the ARRAYFORMULA function as follows:

For horizontally split pieces (use commas between IMPORTRANGE formulas):

For vertically split pieces (use semicolons between IMPORTRANGE formulas):

For example, here is a failed IMPORTRANGE formula:

We split the data range «Data!A:BH» by columns into «Data!A:AM» and «Data!AN:BH» and applied the following formula:

#5 IMPORTRANGE #REF! cannot find range or sheet for imported range

If you see the #REF! Error with a note “Cannot find range or sheet for imported range”, it’s most likely that either the sheet name is misspelled or you entered a wrong range.

If the formula worked before and then you saw this error, then the sheet was probably renamed or deleted, or the spreadsheet was removed.

How to fix

First of all, double-check the name of the sheet (both in the IMPORTRANGE formula and in your source spreadsheet) and the range you entered. In the vast majority of cases, this is the reason for this internal IMPORTRANGE error.

#6 IMPORTRANGE #REF! – Frozen formulas

This glitch is well known among Google Sheets users. Yesterday, your IMPORTRANGE formulas worked well. Today, they return #REF! and seem to be broken for no reason.

It happens randomly and sometimes fixes itself. For many years, Google has failed to find a stable solution to get rid of this ongoing issue with IMPORTRANGE.

How to fix

There are many approaches to fixing this issue:

  • Hard refresh of the sheet and/or browser
  • Re-adding the IMPORTRANGE formula to the same cell (use the Google Sheets shortcuts Ctrl+X and then Ctrl+V or clear the cell and use Ctrl+Z to restore it)
  • Nest IMPORTRANGE with IFERROR

The sheet will reattempt the data import again and again automatically.

  • Use the =now() trick:
    • Insert a NOW formula ( =now() ) in a random cell of the source and target spreadsheets
    • Insert an IMPORTRANGE formula that references the NOW formula of the other spreadsheet
    • Go to File =>Spreadsheet settings => Calculation and select Recalculation “On change and every minute
  • Split large chunks of data into pieces using ARRAYFORMULA + IMPORTRANGE, just like with Error! Result too large.

If you know other solutions/approaches to dealing with IMPORTRANGE #REF!, please share them with us to include in the article.

If you need more information about this function, check out our IMPORTRANGE Tutorial.

How to fix all IMPORTRANGE errors at once: A peace of mind solution

The best way to fix IMPORTRANGE fails is to avoid them. Let’s say you have 100 source sheets from which you import data to 30 sheets using IMPORTRANGE formulas. From the target sheets, you import data to another 10 sheets again with IMPORTRANGE. If all these formulas are stuck, you will face issues with troubleshooting and fixing them!

IMPORTRANGE is a function, and it takes some time to process calculations, which slows down the general performance of a spreadsheet. Instead, you can use the IMPORTRANGE alternative – Google Sheets integration. It is free of the mentioned IMPORTRANGE performance issues since no calculations are performed in the spreadsheet. It pulls the static data and saves it in your spreadsheet, just in case anything goes wrong.

To set up the Google Sheets integration, you need Coupler.io, a solution to import data from third-party data sources such as spreadsheets, CSV files, and numerous apps. It is available as a web app and a Google Sheets add-on. For the latter, you’ll need to install Coupler.io the add-on from the Google Workspace Marketplace.

Import data between Google Sheets with Google Sheets integration

Sign up to Coupler.io, click Add new importer, then select Google Sheets as both source and destination apps.

Complete the setup as follows:

Source

  • Connect to your Google account and select a file on your Google Drive and a sheet to transfer data from. You can select multiple sheets that will be merged into one master view.

Optionally, you can choose a range in the spreadsheet you want to export data from, i.e. A1:Z9.

Destination

  • Connect to your Google account and select a file on your Google Drive and a sheet to transfer data to. You can select an existing sheet, or enter a name to create a new one.

Optionally, you can choose the import mode for your data: you can replace your previous information or append new rows under the last imported entries. Read more about optional destination setup features.

You can run the import right away if you click Save and Run. If you want to automate data import on a schedule, toggle on the Automatic data refresh and customize the schedule.

Schedule

In the end, click Save & Run and welcome your data to the spreadsheet.

IMPORTRANGE or Coupler.io: Which is better?

You’d better say NO to IMPORTRANGE and YES to Coupler.io if:

  • You import data recurrently
  • You import huge amounts of data
  • You import data from other sources like CSV, Pipedrive, etc.
  • It’s crucial for you to have access to data no matter what
  • You’re already tired of IMPORTRANGE issues

In all other cases, you can go with IMPORTRANGE easily because it’s a good function, though not reliable at all. Make the right choice and good luck with your data!

Источник

Google Sheet IMPORTRANGE Ошибка «Внутренняя ошибка диапазона импорта», когда диапазон представляет собой просто столбец

«Внутренняя ошибка диапазона импорта».

=IMPORTRANGE(«https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm», «sheet1!B:C») , работает.

Это ошибка? до сих пор это был третий раз, когда мне приходилось менять их много раз? Есть ли какое-нибудь последовательное решение для этого? Я использую это решение временно

5 ответов

Это не могло быть решением проблемы. Я построил целую платформу интеграции данных на листах и ​​сильно полагаюсь на функциональность importrange для защиты доступа к источникам данных от пользователей. Теперь в последнее время #REF начал преследовать мои столы повсюду, и он делает все более или менее непригодным для использования.

Однозначно это ошибка или нехватка ресурсов.

Я думаю, что лучшим решением здесь будет использовать

Я не верю, что уклонение от кеша Google — это исправление или даже обходной путь.

Мы поддерживаем лист с функцией importrange на нескольких вкладках в течение многих лет, и только в течение последней недели возникла проблема.

Мы впервые заметили это в пятницу, а сегодня снова вернулись. В обоих случаях я не думаю, что сделал что-либо, чтобы исправить проблему, особенно сегодня. Я переместил формулу по листу, что привело к обновлению функции importrange, но это все равно привело к «внутренней ошибке диапазона импорта». Функция importrange отключилась на время (я не знаю, сколько сегодня, но я думаю, что это было не менее 15 минут), а затем разрешилась на всех вкладках без изменений.

Я думаю, что это определенно ошибка или Google возится с вещами на сервере. Может, нам нужно найти способ сделать все без использования importrange?

Эти ошибки обычно временные и проходят через несколько часов. Чтобы ускорить это, немного измените формулу импорта, заменив «sheet1!B:B» на «sheet1!B:b» — изменения регистра строчных букв достаточно, чтобы позволить вызову утилизировать кеш Google и получить свежие результаты, что должно позволить вам обойти проблему. .

В дополнение к двойному ответу вы также должны ограничить свой диапазон, чтобы не было большого количества мертвых строк. Так что что-то вроде B:B5000 вместо B:B .

у нас есть несколько листов, которые полагаются на importrange для получения данных из других листов Google, начиная с этой недели у нас возникли проблемы с загрузкой некоторых из них, мы просто получаем внутреннюю ошибку #ref import range.

Я пробовал множество решений, но все они, похоже, работают только временно, после чего при обновлении запроса иногда удается получить данные, размер диапазона не является проблемой, поскольку проблема возникает как при большом импорте, так и при импорте. которые получают только 1 ячейку.

пока лучшее решение, которое у меня есть, это удалить = из формулы, а затем добавить его обратно, чтобы снова загрузить данные, однако это длится всего около 30 минут, прежде чем importrange возвращается к той же ошибке.

в формулах нет ничего необычного

Я пробовал варианты заглавных букв для диапазонов, а также добавлял, если ошибка, чтобы попытаться загрузить вариант формулы

но, похоже, ничего не работает, а когда работает, решение не прилипает.

будем очень признательны за любую помощь или понимание того, что может быть причиной этой проблемы.

Как обойти ошибку IMPORTRANGE: «Результаты слишком велики»?

Я пытаюсь IMPORTRANGE из диапазона, содержащего 240 000 ячеек (40 столбцов и 6000 строк). Функция IMPORTRANGE ошибочна: «Результаты слишком велики». Я не могу найти документацию о ограничениях функции.

Каковы ограничения IMPORTRANGE?

Как мне обойти это, чтобы я мог импортировать эти данные в свой листок?

4 ответа

У меня тоже была аналогичная проблема.

Попробуйте разделить диапазон импорта с помощью формулы массива.

Протестируйте это с помощью разных размеров данных, чтобы получить самую короткую версию, и вы можете делать то, что вам нужно.

Пустые клетки могут иметь значение. Мы наблюдали нарушение импорта в ячейках 23573×11 или 259k, типичный рост составлял около 10 рядов ежедневно, поэтому мы некоторое время находились в ячейках более 250 тысяч. Один столбец в основном пустой, у пары других есть несколько пробелов.

Я не мог заставить ARRAYFORMULA разобрать, как показано выше, или с другими догадками, поэтому я использовал это на своей скрытой вкладке «Ingest».

=importrange(«sheet», «A1:K10000») в ячейке A1
=importrange(«sheet», «A10001:K») в ячейке A10001

В моей рабочей /презентационной вкладке используется

, чтобы обеспечить постоянное форматирование, наши исходные листы перезаписываются ежедневно.

Используя ответ Сэма и документацию для чтения, я нашел способ получить результат BIG DATA без ошибок. Для этого вам нужно сделать шаг за шагом. В одном запросе. Например, если вам нужно экспортировать данные sheet!A3:X100000 .

Попробуйте сделать следующее: сначала сделайте запрос и выберите только

после получения результата просто отредактируйте запрос из

после получения данных снова отредактировать запрос

и продолжайте, пока вы не будете богаты

таким образом я мог бы импортировать около 800 000 ячеек с данными. Для моей задачи этого было достаточно, но я думаю, что если мне нужны более длинные данные результата, я мог бы продолжить, и он будет работать.

Вы также должны помнить, что таблицы Google имеют ограничение на один максимум документа, может содержать только 2 миллиона ячеек.

Из моего опыта использования IMPORTRANGE количество ячеек не было причиной вообще, но в любое время, когда я превысил 36 столбцов, это не получилось. Мои результаты могут составлять 600 строк или 6000 строк, если я не превысил 36 столбцов. По иронии судьбы вы можете обойти это, объединив функции IMPORTRANGE.

Обратите внимание на фигурные скобки , используемые до и после двух функций IMPORTRANGE

Let’s say you opened your Google spreadsheet and discovered that all your IMPORTRANGE formulas were not working. The previously imported data disappeared and refreshing won’t help get it back. Many users have already suffered from this drawback known as IMPORTRANGE Google Sheets not working. To avoid it, you’d better use an alternative solution, which turns your spreadsheet into a sort of relational database. We’ll show you how to do this a bit later. But for now, let’s troubleshoot your IMPORTRANGE formula and fix the current error.

Common IMPORTRANGE internal errors

The common Google Sheets IMPORTRANGE errors are #ERROR! and #REF!. You can either read how to fix them or watch the video tutorial on the IMPORTRANGE function by Railsware Product Academy or do both. It’s up to you 🙂

#1 IMPORTRANGE #ERROR! – Formula parse error IMPORTRANGE

IMPORTRANGE formula parse error

It’s kid’s stuff! Formula parse error means that you’ve made a mistake in the IMPORTRANGE formula syntax.

How to fix

Verify the formula syntax. Make sure also to validate the spreadsheet URL or ID, quotation marks, as well as the range string. These are the most common reasons for the formula parse error.

#2 IMPORTRANGE #REF! – Permission error or You don’t have permissions to access that sheet

IMPORTRANGE #REF! Permission error

This error states that “You don't have permissions to access that sheet.” In most cases, this means that you’re trying to import a dataset from an unshared Google Sheets doc that is not stored on your Google Drive. 

How to fix

Share the source spreadsheet with the owner of the target spreadsheet or make the file shareable with “Anyone with the link.

#3 IMPORTRANGE #REF! – Allow access or You need to connect these sheets

IMPORTRANGE #REF! Allow access

This is more of a warning than an error. When you import a range from an unshared spreadsheet stored on your Google Docs for the first time, IMPORTRANGE will require you to connect the source and the target sheets.

How to fix

Click the Allow access button to connect the sheets.

#4 IMPORTRANGE #Error! – IMPORTRANGE Result too large

IMPORTRANGE #Error! Result too large

You’ll see this error when you’re importing too many cells. Unfortunately, the exact amount of cells you can import with IMPORTRANGE is undisclosed. In our example, we tried to import 60 columns and 6000 rows (360,000 cells). After we decreased the data range to 4300 rows (258,000 cells), the IMPORTRANGE formula worked. 

How to fix

Split the data range into two or more pieces, either vertically (by rows) or horizontally (by columns). Nest IMPORTRANGE formulas for each piece within the ARRAYFORMULA function as follows:

For horizontally split pieces (use commas between IMPORTRANGE formulas):

=ARRAYFORMULA({IMPORTRANGE("sheet-id","data-range-piece#1"),IMPORTRANGE("sheet-id","data-range-piece#2"),...})

For vertically split pieces (use semicolons between IMPORTRANGE formulas):

=ARRAYFORMULA({IMPORTRANGE("sheet-id","data-range-piece#1);"IMPORTRANGE("sheet-id","data-range-piece#2");...})

For example, here is a failed IMPORTRANGE formula:

=importrange("1bS7FGBbA7nInZJ2VBMaPxqf5B35RXpn-Z3vEcHlTwQo","Data!A:BH")

We split the range of cells "Data!A:BH" by columns into "Data!A:AM" and "Data!AN:BH" and applied the following formula:

=arrayformula({importrange("1bS7FGBbA7nInZJ2VBMaPxqf5B35RXpn-Z3vEcHlTwQo", "Data!A:AM"),importrange("1bS7FGBbA7nInZJ2VBMaPxqf5B35RXpn-Z3vEcHlTwQo", "Data!AN:BH")})

ARRAYFORMULA and IMPORTRANGE

#5 IMPORTRANGE #REF! cannot find range or sheet for imported range

importrange cannot find range or sheet

If you see the #REF! Error with a note “Cannot find range or sheet for imported range”, it’s most likely that either the sheet name is misspelled or you entered the wrong range. 

If the formula worked before and then you saw this error, then the sheet was probably renamed or deleted, or the spreadsheet was removed. 

How to fix

First of all, double-check the name of the sheet (both in the IMPORTRANGE formula and your source spreadsheet) and the range you entered. In the vast majority of cases, this is the reason for this internal IMPORTRANGE error.

#6 IMPORTRANGE #REF! – Frozen formulas 

IMPORTRANGE #REF! and frozen formulas

This glitch is well-known among Google Sheets users. Yesterday, your IMPORTRANGE formulas worked well. Today, they return #REF! and seem to be broken for no reason. 

It happens randomly and sometimes fixes itself. For many years, Google has failed to find a stable solution to get rid of this ongoing issue with IMPORTRANGE. 

How to fix

There are many approaches to fixing this issue:

  • Hard refresh of the sheet and/or browser
  • Re-adding the IMPORTRANGE formula to the same cell (use the Google Sheets shortcuts Ctrl+X and then Ctrl+V or clear the cell and use Ctrl+Z to restore it)
  • Nest IMPORTRANGE with IFERROR
=IFERROR(IMPORTRANGE("sheet-id","range"))

The sheet will reattempt the data import again and again automatically.

  • Use the =now() trick:
    • Insert a NOW formula (=now()) in a random cell of the source and target spreadsheets
    • Insert an IMPORTRANGE formula that references the NOW formula of the other spreadsheet
    • Go to File => Spreadsheet settings => Calculation and select Recalculation “On change and every minute
  • Split large chunks of data into pieces using ARRAYFORMULA + IMPORTRANGE, just like with Error! Result too large. 

If you know other solutions/approaches to dealing with IMPORTRANGE #REF!, please share them with us to include in the article. 

If you need more information about this function, check out our IMPORTRANGE Tutorial.

How to fix all IMPORTRANGE errors at once: A peace of mind solution

The best way to solve the IMPORTRANGE Google Sheets not working issue is to avoid it. Let’s say you have 100 source sheets from which you import data to 30 sheets using IMPORTRANGE formulas. From the target sheets, you import data to another 10 sheets again with IMPORTRANGE. If all these formulas are stuck, you will face issues with troubleshooting and fixing them! 

IMPORTRANGE is a function, and it takes some time to process calculations, which slows down the general performance of a spreadsheet. Instead, you can use the IMPORTRANGE alternative – Google Sheets integration. It is free of the mentioned IMPORTRANGE performance issues since no calculations are performed in the spreadsheet. It pulls the static data and saves it in your spreadsheet, just in case anything goes wrong.

To set up the Google Sheets integration, you need Coupler.io, a solution to import data from third-party data sources such as spreadsheets, CSV files, and numerous apps. It is available as a web app and a Google Sheets add-on. For the latter, you’ll need to install Coupler.io the add-on from the Google Workspace Marketplace.

Import data using Google Sheets integration

Sign up to Coupler.io, click Add new importer, then select Google Sheets as both source and destination apps.

google sheets importer

Check out other available destinations, Microsoft Excel and BigQuery, as well as sources the list of which counts more than 60 and keeps growing. 

Source

  • Connect to your Google account and select a file on your Google Drive and a sheet to transfer source data from. You can select multiple sheets that will be merged into one master view.

Optionally, you can choose a range of data in the spreadsheet you want to export data from, i.e. A1:Z9.

4-Source-section

Destination

  • Connect to your Google account and select a file on your Google Drive and a destination sheet to transfer data to. You can select an existing sheet, or enter a name to create a new sheet. 

Optionally, you can choose the import mode for your data: you can replace your previous information or append new rows under the last imported entries. Read more about optional destination setup features.

5-Destination

You can run the import right away if you click Save and Run. If you want to automate data import on a schedule, toggle on the Automatic data refresh and customize the schedule.

Schedule

11 - quickbooks export schedule

  • Select Interval (from 15 minutes to every month)
  • Select Days of the week
  • Select Time preferences
  • Schedule Time zone

In the end, click Save & Run and welcome your data to the spreadsheet. 

How frequently is IMPORTRANGE Google Sheets not working?

Although IMPORTRANGE is an awesome Google Sheets function, its reliability is arguable. Google does not publicly disclose information on the failures of individual functions. However, like any software, you can experience occasional errors when using Google Sheets. So, we can’t be sure how frequently IMPORTRANGE Google Sheets is not working. 

Meanwhile, if you ask StackOverflow about any errors or failures associated with IMPORTRANGE, you’ll get many results starting from 2015. As a rule, such bugs or glitches are solved within a day or two. It’s not a long term but it’s much better not to experience this at all. This is why we recommend you consider the ETL solution by Coupler.io as an alternative to IMPORTRANGE for your project. Check it out and good luck with your data!

  • Zakhar Yung

    A content manager at Coupler.io whose key responsibility is to ensure that the readers love our content on the blog. With 5 years of experience as a wordsmith in SaaS, I know how to make texts resonate with readers’ queries✍🏼

Back to Blog

Focus on your business

goals while we take care of your data!

Try Coupler.io

Google Docs Editors Help

Sign in

Google Help

  • Help Center
  • Community
  • Google Docs Editors
  • Privacy Policy
  • Terms of Service
  • Submit feedback

Send feedback on…

This help content & information

General Help Center experience

  • Help Center
  • Community

Google Docs Editors

In Google Sheet IMPORTRANGE function for single column in rage

=IMPORTRANGE("https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm", "sheet1!B:B")
I get

“Import Range internal error.”

But for

=IMPORTRANGE("https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm", "sheet1!B:C"), it works.

Is it a bug? up to now, it was the third time that I had to change them many times? Is there any consistent solution for it?
I use this solution as temporary

=Query(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm", "sheet1!B:C") , "Select Col1")

Finally:

I didn’t get error for 5 day right now
And in this link https://issuetracker.google.com/issues/204097721 has now been marked as fixed in the issue tracker.

asked Oct 16, 2021 at 7:02

Majid soorani's user avatar

Majid sooraniMajid soorani

1911 gold badge1 silver badge9 bronze badges

4

These errors are usually temporary and go away in a few hours. To expedite that, modify your import formula slightly by replacing "Sheet1!B1:B" with "Sheet1!B:b" — the small letter case change is enough to let the call duck Google’s cache and get fresh results, which should let you work around the issue.

To automate that to an extent, use this pattern:

=iferror( importrange("...", "Sheet1!B1:B"), importrange("...", "Sheet1!B:b") )

Also see https://support.google.com/docs/thread/131278661.

answered Oct 16, 2021 at 8:51

doubleunary's user avatar

doubleunarydoubleunary

13.2k3 gold badges14 silver badges50 bronze badges

1

I think the best solution here is to use

=Query(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm", "sheet1!B:C") , "Select Col1")

answered Oct 18, 2021 at 8:33

Majid soorani's user avatar

Majid sooraniMajid soorani

1911 gold badge1 silver badge9 bronze badges

2

I try this solution, it works

Before IMPORTRANGE("id", "a:b")

Now IMPORTRANGE("id", "A:b")

answered Oct 31, 2021 at 15:05

Kamarul iCetak's user avatar

There is a dirty solution that could be used temporarily. It does not shield you completely from that issue, it might still occur.

This:

IMPORTRANGE("id", "A:A")

Could be replaced with that (notice lower different case in the same range being imported 2nd time):

IFERROR(IMPORTRANGE("id", "A:A"), IMPORTRANGE("id", "A:a"))

I’ve seen this solution posted here by Vitaly, he got it from here.

answered Oct 25, 2021 at 17:17

kishkin's user avatar

kishkinkishkin

5,0671 gold badge26 silver badges40 bronze badges

1

This could not be the solution to the problem.
I have built a whole data integration platform up on sheets and rely heavily on importrange functionality to shield off access to datasources from users.
Now lately the #REF started to haunt my tables all over the place and it renders everything more or less unusable.

Definately this is a bug or lack of resources.

answered Oct 17, 2021 at 20:51

michelek's user avatar

michelekmichelek

2,3301 gold badge13 silver badges15 bronze badges

I don’t believe ducking Google’s cache is a fix or even a workaround.

We’ve maintained a sheet with the importrange function across multiple tabs for years, and only within the last week has there been a problem.

We first noticed it on Friday then it came back again today. In both instances, I don’t think I did anything to fix the issue, especially today. I moved the formula around on the sheet, which had the effect of refreshing the importrange function, but it still resulted in the “Import Range internal error.” The importrange function went down for a time (I don’t know how long today, but I think it was at least 15 minutes) and then resolved itself on all tabs without a modification.

I think this definitely a bug or Google messing with stuff on the back-end. Maybe we need to find a way to do everything without using importrange?

answered Oct 19, 2021 at 17:58

Ariel's user avatar

ArielAriel

91 bronze badge

I Tried using following and solve my problem since last 2 days…

IFERROR(IMPORTRANGE("id", "A1:B20"),iferror(IMPORTRANGE("id", "A1:b20"),iferror(IMPORTRANGE("id", "a1:B20"),IMPORTRANGE("id", "a1:b20"))))

Means, Recall same fuctions 4x times using CAPS/Non CAPS in Range names.

answered Nov 3, 2021 at 15:47

Atif Qayyum's user avatar

1

I just came across this same situation, but found a solution that worked for us.

We had 1 sheet that was importing ranges from 2 separate sheets (call A & B).

A was importing correctly.
B was showing the Internal Import Error.

I also noticed that on Sheet B, I was unable to view Version Histories.
However, Sheet A I was able to view Version Histories.
–Makes sense that this is where the issue would be, because ImportRange pulls from the most recent Version saved.

THE FIX — I cleared my Chrome’s Cache from the last 7 days (experiencing the issue for 3 days)
Then had to re-sign into my account and the ranges were importing successfully!

Hopefully this helps someone else.

Side note — A coworker traveled to Canada from the US 3 days ago at the same time the Internal Error showed up. Possibly could be from international server errors?? That is a very weird theory, but who knows…

answered Jul 22, 2022 at 21:30

Drake's user avatar

Добавить комментарий