HomeGoogle DocsSpreadsheetHow to Use IMPORTFEED Function in Google Sheets

How to Use IMPORTFEED Function in Google Sheets

Published on

You can create your own feed reader to read the latest contents from your favorite blogs. With IMPORTFEED function in Google Sheets, you can easily achieve this.

Then how to use IMPORTFEED function in Google Sheets?

You need not be a spreadsheet geek to do this. Even if you have limited Excel exposure, you can create your own feed reader in Google Sheets.

Get a glimpse of the latest articles that your favorite bloggers publish that from within your spreadsheet.

Purpose of Google Sheets IMPORTFEED Formula

You can use Google Sheets IMPORTFEED formula to import RSS or ATOM feeds, that in human-readable format in a Google Doc Spreadsheet.

You can have great control over such feeds using this function.

How to Use IMPORTFEED Function in Google Sheets

Syntax:

IMPORTFEED(url, [query], [headers], [num_items])

In earlier occasions, many times, when dealing with Google Sheets functions, I just skipped the syntax part without much detailing. Because I was aware that the examples can convey the details.

This time, I think, I should first explain the syntax part, then move to examples. Then only you can learn how to use IMPORTFEED function in Google Sheets clearly. So here we begin.

URL – URL is the RSS or ATOM feed URL of your favorite blogs on the web. If you ask me how to find a blog or webpage’s RSS or ATOM feed URL, my answer is to look at the page source. How?

For example, to find the RSS feed of my blog, just do a right-click anywhere on the screen and click on “View Page Source”.

find feed url for importfeed function in google sheets

Alternatively, you can apply keyboard shortcut Ctrl+U (on Google Chrome).

Then search for the keyword “feed” to find the feed URL of this site. This URL you can use with Google Sheets IMPORTFEED function.

feed url of infoinspired for importfeed function

QUERY – In order to pull RSS feed data using the IMPORTFEED function, the above URL is only required. Query and other components in the function are optional.

But to have a better control of your imported feed, you should know what are the other components.

The first one is a QUERY. Remember! This has no relation to the Query function.

Here the Query specifies what data to fetch from the given RSS or ATOM feed URL. By default, the query is “items”. I will explain different IMPORTFEED function Queries in the below examples.

HEADERS – This is also optional. But useful to show the fetched data with proper column headings. It accepts Boolean TRUE or FALSE.

NUM_ITEMS: You can limit the IMPORTFEED function to return the number of contents. When you omit this, the function will fetch all the recently published contents.

Now time to learn how to use IMPORTFEED function in Google Sheets with a variety of proper examples.

Google Sheets IMPORTFEED Function Examples

For the below example, I’m using my own blog feed URL. You can use any feed URL for your experiment purpose.

Example 1:

Use Importfeed function to fetch the item title of recent 2 posts.

Importfeed function to fetch the item title

Please note that you can replace the above cell reference in the formula as below. This is applicable to all the below IMPORTFEED examples.

=IMPORTFEED("https://infoinspired.com/feed/","items title",FALSE,2)

Example 2:

Use Importfeed function to fetch the item title of recent 2 posts with column headings.

Importfeed function to fetch the item title with column headings

Example 3:

Fetch Recent 2 Items with column headings.

This is similar to the above formula. But here just change the value in Cell B2 as “items” instead of “items title”.

The result would be as below and this is the best feed reader settings in Google Sheets using IMPORTFEED function.

Importfeed function to fetch recent two items

Example 4:

Recent 1 Item Summary with column headings.

import feed example 4

Conclusion

As above you can use different sheet tabs on your Google Sheets to fetch different feed content. That’s all.

Hope you could learn different formations of the function Importfeed in Google Sheets. Thanks for the stay. Enjoy!

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Filter Data from the Previous Month Using a Formula in Excel

Filtering data from the previous month may be useful for comparative analysis, generating reports,...

Interactive Random Task Assigner in Google Sheets

You have multiple tasks and multiple people. Here's a fun way to randomly assign...

Google Sheets Bar and Column Chart with Target Coloring

To color each data point in the column or bar chart according to the...

Analyzing Column A Between Non-Adjacent Values in Column B: Google Sheets

This tutorial addresses a common scenario encountered in Google Sheets: how to sum, average,...

More like this

Interactive Random Task Assigner in Google Sheets

You have multiple tasks and multiple people. Here's a fun way to randomly assign...

Google Sheets Bar and Column Chart with Target Coloring

To color each data point in the column or bar chart according to the...

Analyzing Column A Between Non-Adjacent Values in Column B: Google Sheets

This tutorial addresses a common scenario encountered in Google Sheets: how to sum, average,...

7 COMMENTS

  1. How can you have the Date Created and URL columns? I guess this formula depends on the structure of the feed? Some feeds I’ve tried have horrible structure.

    • Hi, Kevin,

      Maybe this helps.

      =ArrayFormula(transpose(split(ArrayFormula(query(trim(IMPORTFEED("Enter URL Here")),"Select Col5 where Col5 is not null limit 1",0)),";")))

      Replace ‘Enter URL Here’ with the URL.

      Best,

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.