In this article:

3 Easy Ways to Import Data from Another Workbook in Google Sheets

Looking to import data from another workbook in Google Sheets?

Luckily, there are several ways to get this done!

To help you choose with method to go with, here are brief summaries of each:

  1. File>Import Option - best for when you have a copy of the sheet (either in your Google Drive or on your local computer), and you want to import all the sheets from the source workbook to Google Sheets. You can check the other options if you want to import a single sheet instead. 
  2. IMPORTRANGE - best for importing a specific data range from another Google Sheets workbook. This option will allow you to import a single sheet or even just a portion of a sheet from an external workbook. 
  3. QUERY - best for maximum flexibility, such as formatting the columns, changing labels, and preprocessing the data before it is imported to your spreadsheet.

Using File>Import Option 

If you have a copy of the sheet (either in your Google Drive or on your local computer), this option is the best to follow. Here are the steps:

Step 1: Click the File option in the main menu, and then click Import in the drop-down box. A large pop-up box titled Import file will appear.

pop-up box for importing workbooks. Has four tabs for four options of importing the workbook: from your own Google Drive, from other users’ workbooks shared with you, from workbooks you recently opened in Google Sheets, and for uploading a spreadsheet file from your computer or smartphone, often as Excel workbook.
Pop-up box for importing workbooks.


Step 2: You get four options for the source workbook of the sheet to import: (1) your Google Drive (labeled as My Drive), (2) Shared with me, (3) Recent, and (4) Upload. Choose the option that will let you select the source workbook.

Step 3: After selecting the workbook (or uploading it, if you chose to upload from your local computer, a smaller box will appear, asking you what to do with the current sheet. You can (1) create a new spreadsheet, (2) insert the new sheet(s) to the current workbook (thus not replacing the existing sheets), or (3) replace the existing spreadsheets. Select your option.


Options available once a workbook is selected in the first step: you can create a new spreadsheet from the file, insert the new sheets to the Google Sheets workbook you are working on, or replace the sheets in the Google Sheets workbook you are working on.
Options available once a workbook is selected in the first step.


Once you have selected your option, you can now start processing the data in Google Sheets. 

Using IMPORTRANGE Function

The IMPORTRANGE function allows you to import a specific data range from another Google Sheets workbook. It has the following syntax:

importrange("url_of_workbook","data_range")

Both the URL and the data range should be enclosed by quotation marks. The workbook must be either a public workbook or that you have access to it. If the workbook you are including is also yours, a prompt will pop up, asking you to connect the sheets. Click Allow access. 


A pop-up prompt by Google Sheets to allow access to another Google Sheets worksheet. Statement: You need to connect these sheets.
A pop-up prompt by Google Sheets to allow access to another Google Sheets worksheet.


Afterward, the data will be loaded. 

If the sheets are located in the same workbook (thus having the same URL), they still need to be added through the IMPORTRANGE function individually. 

Using QUERY Function

For the sake of completeness, we still briefly discuss the QUERY function here. The QUERY function is the Google Sheets’ way of incorporating SQL queries to Google Sheets, giving you an additional powerful way to process and analyze data. This method is a little bit of a cheat, because it also uses the IMPORTRANGE function, but gives you more flexibility, which includes formatting the columns, changing labels, and preprocessing the data before it is imported to your spreadsheet.

Together with the IMPORTRANGE, there is so much more you can do with QUERY function. Just make sure you can access the source workbook! For starters, you can read here how to import data from another worksheet with SQL here: How to SQL Query Multiple Sheets in Google Sheets

After that, here are two tutorials you can follow:

Automate repetitive tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started