
Google Sheets and Microsoft Excel are two of the most popular spreadsheet applications used for data analysis and reporting. While both offer powerful data manipulation capabilities, they have distinct tools for importing and transforming data. In this blog post, we’ll explore how to use Google Sheets’ IMPORTRANGE function and compare it to Excel’s Power Query.
Using the IMPORTRANGE Function in Google Sheets
The IMPORTRANGE function in Google Sheets allows you to import data from one Google Sheet into another. Here’s how to use it:
- Obtain the URL of the Google Sheet containing the data you want to import.
- In the destination Google Sheet, enter the following formula:
=IMPORTRANGE("spreadsheet_url", "sheet_name!range")
- Replace “spreadsheet_url” with the actual URL of the source Google Sheet, “sheet_name” with the name of the sheet containing the data, and “range” with the specific range of cells you want to import (e.g., “A1:D10”).
- Press Enter to execute the formula and import the data.
Note that you may need to grant permission to access the source Google Sheet when using IMPORTRANGE for the first time.
Guide to Using Power Query
Excel’s Power Query is a more robust data connection and transformation tool that allows you to import, clean, and reshape data from various sources. Unlike IMPORTRANGE, Power Query is designed for more complex tasks and offers extensive options for data manipulation.
- Open Power Query: In Excel, navigate to the “Data” tab and select “Get Data.” Once you do this, you will see a full range of options as highlighted below (image below). Choose the type of data source you want to connect to (e.g., another Excel file, a database, or a web URL).
- Choose Your Data Source: If you’re pulling data from another Excel file, select “From Workbook” and navigate to the file you want to import.
- Select the Data: Once you’ve connected to the data source, a preview window will appear. Here, you can select the specific table or range of data you wish to import.
- Transform the Data: Power Query allows you to perform various transformations, such as filtering, sorting, and merging data before loading it into Excel.
- Load the Data: After making your changes, click “Close & Load” to import the data into your Excel workbook.

Comparing IMPORTRANGE to Excel’s Power Query
While IMPORTRANGE is a simple and effective way to import data in Google Sheets, it lacks the advanced data transformation capabilities of Excel’s Power Query. Here’s a comparison:
| Feature | IMPORTRANGE | Power Query |
|---|---|---|
| Data Sources | Limited to Google Sheets | Supports a wide range of data sources, including databases, web pages, and files |
| Data Transformation | Basic filtering and sorting | Offers advanced data transformation options, such as merging, appending, grouping, and cleaning data |
| Automation | No built-in automation features | Allows saving and reusing queries, enabling automation of repetitive tasks |
| Integration | Restricted to Google Sheets | Can be integrated with other Excel features like PivotTables and charts for comprehensive data analysis |
Conclusion
While both IMPORTRANGE and Power Query serve the purpose of importing data, they differ in their capabilities. IMPORTRANGE is a straightforward function suitable for quick data fetching between Google Sheets, while Power Query is a robust ETL (Extract, Transform, Load) tool that enables advanced data manipulation within Excel.
The choice between the two depends on the complexity of your data operations, the need for automation, and the platforms you work with. If you primarily use Google Sheets and require basic data importing, IMPORTRANGE may suffice. However, if you need to handle large datasets, connect to various data sources, and perform complex data transformations, Excel’s Power Query is the more powerful and versatile option.
