Google Sheets is a great tool for importing data. It has many features that make it an easy tool to use. One of the most important features is the ability to create sheets. Sheets are a great way to store data and can be used for many purposes. One common use for sheets is to keep track of information. Sheets can be used to track sales, customer data, or any other type of information. Sheets can also be used to store data in a easily accessible format. This makes it easy for you to access the data you need when you need it. Another great feature of Google Sheets is its drag and drop functionality. This makes it easy for you to import data from other sources into Google Sheets. You can also use this feature to export data into different formats. This makes it easy for you to share your data with others who may need it. Overall, Google Sheets is a great tool for importing and storing data. It has many features that make it an easy tool to use and can be used in many ways.


You may want to work with data in your spreadsheet that resides elsewhere. Using a set of Google Sheets functions, you can import data from a CSV file, RSS feed, web page, or another spreadsheet.

With the functions we’ll describe here, you can pull data into your sheet from external sources. Then, analyze, manipulate, format, and do what you please with your new data.

IMPORTDATA for a CSV or TSV File

If you see a CSV or TSV file on a website you’d like to import, you can use the IMPORTDATA function.

RELATED: What Is a CSV File, and How Do I Open It?

The syntax for the function is IMPORTDATA(reference, delimiter, locale) where only the first argument is required as the URL or a cell reference. If you want to use a different delimiter than the default file type, use the delimiter argument. And if you need to change the language, use the locale argument with the region’s code.

Here, we’ll import a CSV file using the URL with this formula:

In this example, we add the delimiter argument rather than using the default (comma) for the CSV file:

IMPORTFEED for an RSS or ATOM Feed

Maybe there’s an RSS or ATOM feed that you want to pull data from to manipulate it in your sheet. You’ll use the IMPORTFEED function.

RELATED: What Is RSS, and How Can I Benefit From Using It?

The syntax for the function is IMPORTDATFEED(reference, query, headers, number_items) where only the first argument is required, and you can use the URL or a cell reference.

Query: Enter the default “items” or use “feed” for a single row of data, “feed [type]” for a certain feed element, or “items [type]” for a certain item element. Headers: The default is FALSE, but you can use TRUE to include a header row. Number_items: The default is all items in the feed, but you can enter a specific number of items.

To import our How-To Geek feed with five items, you can use this formula:

Using this next formula, you can import five items from the same feed and include the header row:

For one more example, using the same feed, we’ll import just the titles for five items using this formula:

IMPORTHTML for a Table or List on a Web Page

Tables and lists from a web page (HTML) are easy to import into Google Sheets with the IMPORTHTML function.

RELATED: What Is HTML?

The syntax for the function is IMPORTHTML(reference, query, index) where you may want to use all three arguments depending on the page. Enter a URL or cell for the reference, “table” or “list” for the query, and a number for the index. The index is the identifier in the page’s HTML for the table or list if there’s more than one.

As an example, we’ll import the first table on a Wikipedia page for Star Wars films using this formula:

When you view the web page, you can see this first table is the one on the top right.

Because it’s the next table on that page we really want, we’ll include the next index number instead with this formula:

Now we have the table shown below in our Google Sheet instead.

For one more example, we’ll import a list from that same page. This is the third list identified on the page which is the contents of the article. Here’s the formula:

IMPORTRANGE for a Cell Range in a Spreadsheet

One more handy import function is for bringing in data from another spreadsheet. Although it’s easy enough to pull data from a sheet in the same workbook, you might want data from a different workbook. For this, you can use the IMPORTRANGE function.

RELATED: How to Import Data from Another Google Sheet

The syntax for the function is IMPORTRANGE(reference, sheet_range) where you’ll need both arguments. Enter the URL for the sheet in quotes or use a cell reference. Then, include the sheet name and cell range as a string or a cell reference, both should be in quotation marks.

When you first enter a formula for the IMPORTRANGE function, you’ll likely see an error like the one below. This is simply to alert you that you need to allow access to the sheet you want to import. Select “Allow Access” to continue.

In this example, we’ll import the range A1 through E7 from another workbook. This workbook only has one sheet, so the import is successful without the sheet name. Here’s the formula:

For the next example, we’re importing from another workbook that has multiple sheets. So, you’d include the sheet name and cell range as a single string: Sales!D1:F13

These Google Sheets import functions can come in super handy when you need external data like the types mentioned here. Keep in mind that if you want to import a specific type of file from your computer, such as a Microsoft Excel workbook, you can do that with the Google Sheets menu.

RELATED: How to Import an Excel Document into Google Sheets