HomeSoftware TroubleshootingGoogle Sheets IMPORTRANGE Not Working? 9 Fixes

Google Sheets IMPORTRANGE Not Working? 9 Fixes

You enter an IMPORTRANGE formula into Google Sheets, expecting to pull live data from another spreadsheet. Instead, the cell displays #REF!, stays stuck on “Loading…”, or returns a message saying you don’t have permission to access the source file.

Sometimes the formula works for weeks before suddenly failing. Other times, you click Allow access, but the error remains.

If Google Sheets IMPORTRANGE is not working, the correct fix depends on the specific error message. A missing authorization prompt, an incorrect worksheet name, and an oversized import are different problems, even when Google Sheets displays similar error indicators.

This guide explains nine practical fixes for IMPORTRANGE errors, including permissions, missing ranges, internal errors, slow loading, formula issues, and spreadsheet size limitations.

You’ll also learn how to build a more reliable cross-spreadsheet reporting setup without repeatedly breaking your formulas.

Quick Answer: Why Is IMPORTRANGE Not Working?

The IMPORTRANGE function imports a range of cells from another Google Sheets spreadsheet.

Its basic syntax is:

=IMPORTRANGE("SPREADSHEET_ID","Sheet1!A1:D100")

You must replace SPREADSHEET_ID with the actual source spreadsheet ID and specify a valid range.

The first time you connect two files, Google Sheets usually requires permission before importing the data.

If something goes wrong, use the following troubleshooting table.

Error message Likely cause Recommended fix
#REF! — You need to connect these sheets Connection not authorized Click Allow access
#REF! — You don’t have permissions Source file access problem Check sharing settings
#REF! — Spreadsheet cannot be found Incorrect or unavailable source Verify spreadsheet ID
#REF! — Cannot find range or sheet Invalid worksheet or range Correct the range string
#REF! — Array result not expanded Output cells are occupied Clear destination cells
Loading… Large or delayed import Reduce the source range
Import Range internal error Temporary or unresolved import failure Test a smaller import
#ERROR! — Volatile function reference NOW, RAND, or RANDBETWEEN dependency Replace volatile inputs
Slow or repeated recalculation Nested imports or chained files Simplify dependencies

Start by clicking the error cell and reading its detailed message. The error description is usually more useful than the error code alone.

Fix 1: Click Allow Access to Connect the Spreadsheets

One of the most common reasons IMPORTRANGE fails is that Google Sheets hasn’t received authorization to connect the source and destination spreadsheets.

When two files are connected for the first time, the destination must be granted permission to retrieve information from the source.

How to Fix the “You Need to Connect These Sheets” Error

Open the destination spreadsheet and enter a simple IMPORTRANGE formula.

For example:

=IMPORTRANGE("SOURCE_SPREADSHEET_ID","Sheet1!A1:B5")

Then:

  1. Press Enter.
  2. Allow a few moments for Google Sheets to evaluate the formula.
  3. Select the cell showing #REF!.
  4. Look for the message indicating that the spreadsheets need to be connected.
  5. Click Allow access.
  6. Check whether the imported values appear.

Google documents this process in its official IMPORTRANGE reference.

What If the Allow Access Button Doesn’t Appear?

Try a simpler formula in an empty destination cell.

For example:

=IMPORTRANGE("SOURCE_SPREADSHEET_ID","Sheet1!A1")

Check that the source ID is correct and that you’re using a Google account authorized to access the file.

If you’re using a mobile app, try completing the initial authorization in the desktop version of Google Sheets.

Also, avoid wrapping the formula in IFERROR() before authorizing the connection. Hiding the original error can make it harder to see the permission prompt.

Security consideration: Once the connection is authorized, editors of the destination spreadsheet can use IMPORTRANGE to retrieve other ranges from the authorized source. Do not connect confidential source files to widely shared destination spreadsheets without reviewing this access model.

Fix 2: Resolve Missing or Revoked Spreadsheet Permissions

An IMPORTRANGE permission error isn’t always the same as a first-time connection prompt.

Sometimes the destination has already been connected, but access to the source spreadsheet has changed.

For example, an employee may lose access to a company spreadsheet after changing departments.

The destination formula remains unchanged, but it can no longer retrieve the underlying data.

Check Source Spreadsheet Access

Copy the source spreadsheet URL and open it in a browser.

Use the Google account involved in the import setup.

If you cannot open the source file, request access from its owner or administrator.

For ordinary imports, the account authorizing the connection must be able to access the source, and the user granting the connection needs appropriate editing access to the destination.

Review Google Drive Sharing Settings

Open the source file, select Share, and check the authorized users.

Verify that the required account still has access.

If the file belongs to a Google Workspace organization or Shared Drive, organizational restrictions may also apply.

Check Download and Copy Restrictions

Google documents that enabling restrictions on downloading, printing, and copying can prevent new IMPORTRANGE formulas from exporting data from the source spreadsheet.

Existing formulas created before certain restrictions were enabled may continue operating.

Review these restrictions with the file owner rather than bypassing the organization’s data protection policies.

For additional details, consult Google’s IMPORTRANGE permission documentation.

Fix 3: Correct an Invalid Spreadsheet URL or ID

A wrong spreadsheet reference can produce an error even when your Google account has the correct permissions.

Every Google Sheets file has a unique identifier.

Consider a spreadsheet URL like this:

https://docs.google.com/spreadsheets/d/ABC123EXAMPLE/edit

The spreadsheet ID is the part between /d/ and /edit:

ABC123EXAMPLE

For an actual spreadsheet, that value will normally be a longer identifier.

Use the Source Spreadsheet ID

A simple formula could look like this:

=IMPORTRANGE("ABC123EXAMPLE","Sheet1!A1:D100")

Replace the example with your actual ID.

Google Sheets supports using a source spreadsheet URL as well.

Common URL Mistakes

Problems can occur when:

  • The source ID was copied incorrectly.
  • The original spreadsheet was deleted.
  • The link points to the wrong document.
  • The formula references a file the user cannot access.
  • A URL was copied with accidental extra characters.

A good diagnostic technique is to open the source URL independently in your browser.

If it cannot be opened, resolve that issue before modifying the import formula.

Do not assume an incorrect URL is an authorization problem.

Fix 4: Fix “Cannot Find Range or Sheet for Imported Range”

A correct source spreadsheet ID is only half of a valid IMPORTRANGE formula.

The second argument must identify an existing range inside that spreadsheet.

For example:

=IMPORTRANGE("SOURCE_ID","Sheet1!A1:D100")

Here, Sheet1 is the source worksheet’s tab name.

If that tab doesn’t exist, Google Sheets cannot locate the requested range.

Check the Source Worksheet Name

Open the source spreadsheet and inspect the worksheet tabs at the bottom.

For example, the actual worksheet might be named:

Sales Data

If your formula still refers to Sheet1, correct it.

For worksheet names containing spaces, use single quotes around the tab name inside the range string:

=IMPORTRANGE("SOURCE_ID","'Sales Data'!A1:D100")

The outer double quotes delimit the argument, while the inner single quotes identify the worksheet name.

Verify the Range

Check whether the source actually contains the requested rows and columns.

A formula referencing an invalid named range or deleted worksheet can fail.

If the source uses a named range, verify that the name still exists and points to the intended cells.

Test the Smallest Possible Range

Before importing thousands of rows, try:

=IMPORTRANGE("SOURCE_ID","'Sales Data'!A1")

If this succeeds, gradually expand the requested range.

This helps distinguish a basic reference error from a performance problem.

Fix 5: Resolve “Array Result Was Not Expanded”

IMPORTRANGE can return multiple rows and columns from a single formula.

For example, importing A1:D100 can populate a rectangular output area containing up to 100 rows and four columns.

But Google Sheets needs empty cells in that destination area.

If another value occupies a required cell, the imported array cannot expand.

Example

Suppose you enter this formula in cell A1:

=IMPORTRANGE("SOURCE_ID","Sheet1!A1:D100")

But cell B5 already contains manually entered information.

Google Sheets cannot overwrite that value automatically.

The result may show a #REF! error explaining that the array could not expand.

How to Fix the Problem

  1. Select the formula cell.
  2. Read the error details.
  3. Identify the output area required.
  4. Check for existing values or formulas.
  5. Move or clear the conflicting content.
  6. Allow the formula to recalculate.

Use a completely empty worksheet when testing a large imported range.

Important: Don’t delete existing business records simply to make the formula work. Preserve the data and move the import to another location if necessary.

Check Spreadsheet Size Limits

Large imports can also fail when expanding the results would exceed Google Sheets’ overall spreadsheet cell limits.

In that situation, reducing unnecessary rows and columns or importing a smaller range may be necessary.

Fix 6: Stop IMPORTRANGE From Loading Forever

An import may remain stuck on:

Loading…

This can happen when the source is large, recalculation is expensive, or several imported files depend on each other.

IMPORTRANGE is an external-data function, so it must retrieve the source range before displaying the result.

Google’s documentation specifies a 10 MB received-data limit per IMPORTRANGE request.

Reduce the Import Range

Instead of:

=IMPORTRANGE("SOURCE_ID","Sales!A:Z")

Try a bounded range:

=IMPORTRANGE("SOURCE_ID","Sales!A1:F500")

This avoids requesting unnecessary empty columns and potentially large numbers of unused rows.

Prepare the Data in the Source Spreadsheet

Suppose you need the total revenue from thousands of sales transactions.

Rather than importing the full transaction dataset solely to calculate one number, calculate the total in the source spreadsheet.

Then import the summary cell.

For example:

=IMPORTRANGE("SOURCE_ID","Summary!B2")

Google specifically recommends reducing and summarizing data before importing it when possible.

Avoid Long Chains of Imports

A fragile setup may look like this:

Spreadsheet A → Spreadsheet B → Spreadsheet C → Spreadsheet D

If Spreadsheet A changes, each downstream document may need to recalculate.

A better design is to let reporting spreadsheets read directly from the appropriate source or consolidated summary when possible.

Understand Refresh Timing

IMPORTRANGE isn’t a guaranteed real-time synchronization service.

Google states that it checks for updates automatically approximately every hour while a spreadsheet is open, although source changes and other conditions can cause recalculations.

Do not use IMPORTRANGE as the sole mechanism for a business process requiring immediate, guaranteed event delivery.

For further information, review Google’s import performance guidance.

Fix 7: Troubleshoot IMPORTRANGE Internal Errors

Sometimes Google Sheets displays:

Import Range internal error

This error does not identify a single universal cause.

It may involve temporary processing issues, source document complexity, or problems with a particular import.

Start With a Minimal Test

Create a blank destination spreadsheet and enter a simple import:

=IMPORTRANGE("SOURCE_ID","Sheet1!A1")

If the first-time access prompt appears, authorize the connection.

Then check whether the source cell loads.

Compare the Results

If the minimal import succeeds, the original problem may involve the requested range size, nested formulas, or dependencies in the destination spreadsheet.

If the minimal import fails too, investigate source access, spreadsheet availability, and potential temporary service issues.

Reduce Formula Complexity

Temporarily remove unnecessary nested calculations from a copy of your formula.

For example, test IMPORTRANGE alone before combining it with QUERY or another function.

This approach makes it easier to identify which component is failing.

Don’t Repeatedly Rebuild a Working Connection

Changing the source URL, removing sharing permissions, and reconnecting files repeatedly can make troubleshooting more confusing.

First establish whether the connection itself is broken.

If a simple import works, focus on formula structure and performance instead.

If the error remains unresolved across a minimal test, preserve the error details and consult the Google Docs Editors Help Community.

Fix 8: Remove Volatile Functions and Circular Dependencies

Some IMPORTRANGE errors come from the source spreadsheet’s calculations rather than permissions.

Volatile Function Errors

Google documents restrictions on imports that reference volatile functions such as:

  • NOW()
  • RAND()
  • RANDBETWEEN()

These functions can recalculate frequently.

IMPORTRANGE cannot directly or indirectly reference them in certain dependency chains.

Example

Suppose a source spreadsheet uses:

=RAND()

If your imported range depends on that value, Google Sheets may return an error.

One possible solution is to replace the volatile output with a static value when automatic recalculation isn’t required.

Google recommends using Paste special → Values only when appropriate.

The TODAY() function is documented as an exception because it doesn’t update more than once per day.

Circular Import Dependencies

A circular dependency occurs when two spreadsheets depend on importing data from one another.

For example:

Spreadsheet A imports Spreadsheet B

and

Spreadsheet B imports Spreadsheet A

The files can become trapped in a circular reference.

Recommended Solution

Redesign the data flow so that one spreadsheet acts as the source of truth.

Other files should read from that source rather than creating a dependency loop.

A central source and separate reporting spreadsheets are usually easier to maintain.

Fix 9: Simplify IMPORTRANGE With QUERY and VLOOKUP

Advanced spreadsheet formulas frequently combine IMPORTRANGE with other functions.

This is useful, but it can also make calculation problems more difficult to diagnose.

Example: QUERY With IMPORTRANGE

Suppose a source spreadsheet contains:

Invoice ID Customer Status Amount
INV-101 Sarah Paid 450
INV-102 David Unpaid 850
INV-103 Emily Paid 300

You want to import only paid invoices.

One formula is:

=QUERY(
  IMPORTRANGE("SOURCE_ID","Invoices!A1:D100"),
  "select Col1, Col4 where Col3 = 'Paid'",
  1
)

The formula assumes that the first row contains column headings and that the Status field is column C.

Before using this combination, establish the IMPORTRANGE permission connection with a basic standalone import.

Otherwise, an authorization error may appear within the nested formula, making diagnosis more difficult.

Improve Performance With an Intermediate Import

If several calculations depend on the same external spreadsheet, consider importing the required source range once into a dedicated tab.

For example, create a worksheet named:

ImportedData

Place the IMPORTRANGE formula in cell A1.

Then use local formulas against the imported values.

Example:

=QUERY(ImportedData!A1:D100,
 "select A, D where C = 'Paid'",
 1)

This can be easier to maintain than repeating the same external import in many formulas.

Google’s lookup performance documentation recommends importing data into a local range before applying lookup calculations when appropriate.

When to Avoid Nested Imports

Consider simplifying formulas when:

  • Multiple functions import the same source.
  • Large datasets are repeatedly downloaded.
  • The source updates frequently.
  • Results pass through several dependent spreadsheets.
  • Employees have difficulty diagnosing nested formula errors.

The goal is to reduce unnecessary external requests and make each calculation easier to verify.

A Real-World Example: Repairing a Broken Sales Dashboard

Imagine a small landscaping company using Google Sheets to track customer estimates, approved projects, and completed invoices.

The business keeps operational data in one spreadsheet and displays performance summaries in another.

Its dashboard contains several IMPORTRANGE formulas.

One day, the dashboard begins displaying #REF!.

Step 1: Identify the Error

The owner selects an affected cell.

The detailed error says that the imported worksheet cannot be found.

Step 2: Inspect the Source Spreadsheet

The source spreadsheet still exists.

However, an employee renamed its tab from:

Sales

to:

Completed Projects

Step 3: Update the Range Reference

The old formula is:

=IMPORTRANGE("SOURCE_ID","Sales!A1:D500")

The updated version is:

=IMPORTRANGE(
  "SOURCE_ID",
  "'Completed Projects'!A1:D500"
)

Step 4: Test the Import

The owner first tests a single cell from the renamed worksheet.

Once that works, the full range is imported.

Step 5: Improve the Workflow

Rather than using multiple separate IMPORTRANGE formulas, the business consolidates the required data into a dedicated import tab.

Local reporting formulas then reference that tab.

This design makes future troubleshooting easier.

For businesses that also automate client communications, our landscaping lead follow-up automation guide explains how spreadsheet records support estimate tracking and customer follow-ups.

How to Prevent IMPORTRANGE Errors in Business Workflows

An effective spreadsheet system should be designed to minimize unnecessary dependencies.

Consider these practices.

Keep Source Worksheet Names Stable

If other spreadsheets depend on a tab, avoid renaming or deleting it without reviewing the connected formulas.

Document which reports depend on important worksheets.

Import Only the Data You Need

Avoid importing entire columns when a specific range is sufficient.

Small, focused imports are usually easier to maintain.

Create Dedicated Reporting Tabs

Keep raw data separate from calculated dashboards.

This makes it easier to test imports without disturbing business records.

Review Access Permissions

Before sharing destination spreadsheets, consider what source information authorized destination editors could retrieve.

Use a sanitized reporting source if employees should not have access to confidential operational data.

Use Unique Business Identifiers

When imported data includes leads, orders, or invoices, maintain unique IDs.

This helps prevent confusion when data changes or records are sorted.

For example, our Google Sheets invoice reminder automation guide explains how unique invoice IDs and payment statuses support reliable automated reminders.

Choose the Right Automation Tool

IMPORTRANGE is useful for spreadsheet-to-spreadsheet data references.

It is not designed to provide guaranteed immediate event delivery.

If a business needs to send an email when a customer record changes, a dedicated trigger may be more appropriate.

Our Google Sheets email notification tutorial explains how to use conditional notifications and Apps Script for supported change events.

IMPORTRANGE vs. Google Apps Script: Which Should You Use?

Both tools can transfer spreadsheet data, but their operating models are different.

Requirement IMPORTRANGE Google Apps Script
Simple cross-file import Excellent Supported
No-code configuration Yes No
Formula-based reporting Excellent Requires custom logic
Scheduled data processing Limited refresh control Time-driven triggers
Custom data transformation Formula-dependent Highly customizable
Complex error handling Limited Programmable
Large data pipelines Can become inefficient Depends on implementation and quotas

For lightweight dashboards, IMPORTRANGE is often sufficient.

For controlled scheduled processing, Apps Script can provide greater flexibility.

For systems requiring strict data integrity and reliable high-volume event processing, consider an appropriate database or integration platform.

Frequently Asked Questions

Why is IMPORTRANGE not working in Google Sheets?

Common causes include missing authorization, incorrect source spreadsheet IDs, invalid worksheet names, access restrictions, large ranges, circular dependencies, and formula calculation issues.

Read the detailed error message before applying a fix.

How do I fix the IMPORTRANGE #REF! error?

Click the error cell to identify the cause.

If Google Sheets asks you to connect the spreadsheets, click Allow access.

If it reports a missing worksheet or range, correct the formula’s source reference.

If the output cannot expand, clear or move the conflicting destination data.

Why is IMPORTRANGE not asking for permission?

The destination may already have access, the user may lack appropriate permissions, or the formula may not be evaluated as expected.

Try a standalone IMPORTRANGE formula in an empty cell using a desktop browser.

Verify the source file and account permissions.

Can I use IMPORTRANGE without sharing the source file?

The destination must be authorized to access the source.

Google Sheets does not provide a general permission-free method for importing private spreadsheet content.

Why is IMPORTRANGE stuck on Loading?

Large imports, complex source calculations, repeated external requests, and chains of dependent spreadsheets can contribute to long loading times.

Reduce the imported range and simplify the data flow.

Does IMPORTRANGE update automatically?

Yes, but updates are not guaranteed to appear instantly.

Google documents automatic update checks approximately every hour while a spreadsheet is open, alongside other recalculation behaviors.

How do I fix “Cannot find range or sheet for imported range”?

Verify the exact source worksheet name and selected cell range.

If the worksheet name contains spaces, enclose the tab name in single quotes within the range string.

Can IMPORTRANGE import from another Google account?

Yes, when the necessary source access and destination authorization requirements are satisfied.

The Google accounts don’t necessarily need to be identical, but permissions must allow the connection.

Can IMPORTRANGE work with QUERY?

Yes. You can combine IMPORTRANGE with QUERY to retrieve selected columns or records.

For better troubleshooting and performance, consider importing the source data into one local tab and applying QUERY separately.

What is the IMPORTRANGE size limit?

Google documents a 10 MB received-data limit per IMPORTRANGE request.

The source and destination spreadsheets also remain subject to Google Sheets’ broader resource limits.

Is IMPORTRANGE better than Zapier or n8n?

They serve different purposes.

IMPORTRANGE dynamically retrieves spreadsheet ranges.

Zapier and n8n can coordinate workflows involving multiple applications, events, and actions.

For business processes requiring customer notifications or conditional updates, an automation platform may be more appropriate.

Final Thoughts

When Google Sheets IMPORTRANGE is not working, the solution usually begins with identifying the correct failure category.

Permission errors require access checks.

Invalid references require accurate spreadsheet IDs and worksheet names.

Loading problems often benefit from smaller ranges, simplified calculations, and fewer chained imports.

For advanced dashboards, separating source data, imported records, and local calculations makes ongoing maintenance considerably easier.

The most important principle is straightforward:

Test a small import first, verify permissions and references, then expand the formula only after the basic connection works.

For more practical guides on spreadsheet troubleshooting, workflow automation, and business data management, explore IA Network.

A reliable spreadsheet system should be easy to audit, maintain, and recover—not just easy to build.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments