How does query work in Google Sheets

QUERY is a built-in Google Sheets function. Type =QUERY( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to how does query work.

Steps

  1. 1

    Click an empty cell and type =QUERY(.

  2. 2

    Fill arguments using the on-screen helper.

  3. 3

    Press Enter and check a known expected result.

  4. 4

    Widen ranges or add IFERROR once the logic is correct.

Related tutorials

These videos might help you go deeper on this topic.

Watch more tutorials
Search Every Function in Google Sheets

Search Every Function in Google Sheets

Built a useful tool to filter Google Sheet formulas based on keywords.
Search for Photos in a Google Sheet by Keyword

Search for Photos in a Google Sheet by Keyword

Add one more feature to our Photo search inside of Google Sheets.
Scrape Google Maps

Scrape Google Maps

πŸ“ Want the finished tool? Local Lead Finder searches every part of a cit...
Make Unsplash in a Google Sheet w/ BuyMeACoffee - Part 1

Make Unsplash in a Google Sheet w/ BuyMeACoffee - Part 1

Create a photo search site inside with Google Sheets. Using this templat...
Google Sheets Interface Changes

Google Sheets Interface Changes

Showing off New experiences in smart canvas changes to sheets. Including...
Convert Google Sheets into a REST API

Convert Google Sheets into a REST API

How to use Google Sheets as a database by turning it into a REST API wit...

Related blog posts

Written guides that go deeper on this question.

Browse the blog

Better Sheets on YouTube

Watch matching videos from youtube.com/bettersheets.

Search channel

Terms and formulas behind this

Want the full definition or how a formula works? Start here.

Related questions

How to use query Google Sheets

QUERY is a built-in Google Sheets function. Type =QUERY( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to use query google sheets.

Get the answer β†’

How to use query in Google Sheets

QUERY is a built-in Google Sheets function. Type =QUERY( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to use query.

Get the answer β†’

What does query do in Google Sheets

QUERY is a built-in Google Sheets function. Type =QUERY( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to query do.

Get the answer β†’

How to do query in Google Sheets

QUERY is a built-in Google Sheets function. Type =QUERY( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to do query.

Get the answer β†’

Does Google Sheets have power query

QUERY is a built-in Google Sheets function. Type =QUERY( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to does google sheets have power query.

Get the answer β†’
Ads keep the free stuff free. Members browse ad-free — log in or see pricing.
Big Year 2027 calendar: the whole year on one Google Sheet

Free 2027 calendar.

Copy it to your Google Drive.

Free. No password, no card. The sheet link shows up right here.