IMPORTRANGE Function: Import Data from Another Google Sheet

スポンサーリンク
スポンサーリンク

About the IMPORTRANGE Function

Overview of IMPORTRANGE

Import Data from Another Google SheetGoogle Sheets Function

=IMPORTRANGE( spreadsheet_url, range_string )

Summary The IMPORTRANGE function imports data from a specified range in another Google Sheet. It simplifies data sharing between different files.

  • Dynamically retrieve data stored in another spreadsheet.
  • Enable integration with other sheets by specifying the URL.
  • Ideal for sharing data across projects and teams.

When to Use IMPORTRANGE

  • When you want to automatically update data from another sheet.
  • When consolidating data across multiple sheets.
  • When integrating shared data for team collaboration.

How to Use IMPORTRANGE

The following example demonstrates the basic usage of the IMPORTRANGE function.

  A B C
1 Spreadsheet URL Data Range Result
2 https://docs.google.com/spreadsheets/d/abcd1234 Sheet1!A1:B10 =IMPORTRANGE(A2, B2)

Results

  • Based on the URL in cell A2 and the range “Sheet1!A1:B10” in cell B2, data is imported from another spreadsheet.
  • The imported data dynamically updates whenever the source spreadsheet is modified.

Advanced Examples of IMPORTRANGE

IMPORTRANGE can be combined with other functions to perform more powerful operations.

  A B C D
1 Spreadsheet URL Data Range Filter Result
2 https://docs.google.com/spreadsheets/d/abcd1234 Sheet1!A1:B10 Score =QUERY(IMPORTRANGE(A2, B2), “SELECT Col1, Col2 WHERE Col2 > 50”)

Results

  • The IMPORTRANGE function imports data and the QUERY function filters rows where scores are greater than 50.
  • Dynamic data filtering is achieved efficiently.

List of Queries Used in the QUERY Function

QUERY Function: Query Syntax and Examples in Google Sheets
The QUERY function in Google Sheets is a powerful tool for filtering, sorting, and aggregating data flexibly within a spreadsheet. This article provides a list ...

Points to Note

  • Access permissions must be granted the first time data is imported from another spreadsheet.
  • The range must include the sheet name (e.g., Sheet1!A1:B10).
  • If the source spreadsheet is deleted or permissions are changed, an error will occur.

Conclusion

  • The IMPORTRANGE function simplifies data sharing and consolidation between different spreadsheets.
  • Combining it with other functions like QUERY allows for flexible data manipulation.
  • Supports dynamic updates, making it ideal for project management and team collaboration.