Querying data within Google Sheets

Query() is a powerful Google Sheet tool. But what if you don't want to learn coding?

If you have ever wanted to pull data from multiple spreadsheets, you would have come across the query() function. The formula looks something like this:

QUERY(data, query, [headers])

If you know your query languages, you would write something like this:

QUERY(A2:E6,"select avg(A) pivot B")

But if you're like me, you have to do a Google search every time you're creating a complex query to make sure the syntax is legit. Here are a few common ones I use often:

Import selected columns from another Google Sheet

I often have to import a few columns from large datasheets that have 10s of columns. In those cases, I find the query() function faster than the traditional indexmatch. Usually, they look something like this:

QUERY(MASTER!A:X,"select A, B, C, Q, R")

Import selected columns from another Google Sheet, based on criteria

Once in a while, I import data from another sheet which meet a certain criteria. Again, far easier than complex indexmatch's:

QUERY(MASTER!A:X,"select A, B WHERE F='FALSE'")

This is all good and fine if you are familiar with SQL querying. But if you are a business user, you likely don't know querying languages. Or, at least, don't have them at the tip of your fingers.

How to run query formulas using Airboxr instead?

The cool thing about using Airboxr is that you don't need to bother with complex formulas. You definitely don't need to learn how to write raw queries. In the gif below, I highlight how to select a source and choose the columns to import. You simply choose the Google Sheet you'd like to pull data from and click on the columns to import.

In this example, I want to import a list of SaaS companies and a link to their startup decks from another Google Sheet: you can add this GSheet as a source yourself and give it a shot.

I would like to add a filter to include only SaaS companies. So I simply hit the Filter button and tell Airboxr what to do.

That's it! When you hit the import button, Airboxr will do its thing behind the scenes and import the data into your GSheet for you! 🎉

Easy-peasy, isn't it?!

It really is that easy. Our public beta is now live: get your GSheets plug-in here.