Query in Google Sheets: Difference between revisions

From Cramsession
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials
No edit summary
No edit summary
 
Line 13: Line 13:
* '''C''' is the column to query on
* '''C''' is the column to query on


* '''Something''' is what yo query in column C
* '''Something''' is what to query in column C




'''Important note:'''
'''Important note:'''
You cannot edit the resuting data, any edits will clear the results sheet.
You cannot edit the resuting data, any edits will clear the results sheet.

Latest revision as of 17:49, 8 August 2025

Create a blank sheet

On line A:1 use

=query('your data'!A:AJ, "select * where C='Something'", 1)

Where:

  • your data is the name of data sheet you want to query
  • A:AJ is the range of columns to return
  • C is the column to query on
  • Something is what to query in column C


Important note: You cannot edit the resuting data, any edits will clear the results sheet.