Premium Google Sheets drill · QUERY
QUERY the East rows
Practice a Google Sheets QUERY where clause that keeps East rows. Text inside the query is case-sensitive.
A1:C5 lists products, regions, and units. Inside QUERY, text comparisons are case-sensitive, unlike a normal Sheets equals test.
In E1, select product and units where the region is East. Keep the header row.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| 1 | Product | Region | Units | Formula goes in E1. formula | ||
| 2 | Pen | East | 10 | |||
| 3 | Book | West | 25 | |||
| 4 | Pen | West | 15 | |||
| 5 | Clip | East | 8 |
Hint
The where clause uses single quotes around East: where B = 'East'.
Explanation
where B = 'East' keeps Pen and Clip. The query language matches East exactly, so 'east' would not count. The header stays above the two rows.
The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.