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.

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.
Scrape Google Maps

Scrape Google Maps

πŸ“ Want the finished tool? Local Lead Finder searches every part of a cit...
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.
Google Sheets Easter Eggs Beyond PRIDE

Google Sheets Easter Eggs Beyond PRIDE

Going beyond PRIDE, to show you some undocumented google sheets hacks th...
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...
Add Click Tracking To Your Google Sheets | Bitly in a Google Sheet

Add Click Tracking To Your Google Sheets | Bitly in a Google Sheet

Create a click Edit: Google changed how the redirect is handled. It no l...

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 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 β†’

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 β†’

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.

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.