Sheetsdrill

Level 4: Arrays and FILTER Exercise 40 of 50 Pro

Count with QUERY

A Google Sheets formula exercise from Sheetsdrill. Solve it with a formula bar on a live sheet in your browser, and it is checked the moment you submit.

The task

Use QUERY to count the shipments whose status is "Late" and whose cost is over 100. Return just the number, with no header. Answer in G1.

What this exercise teaches

Unlike COUNTIFS, QUERY can mix and, or and not in one where clause.

A hint if you get stuck

Combine the two tests in the where clause with and. Text comparisons in QUERY are case sensitive.

Functions used: QUERY

This exercise is part of Pro

Pro unlocks all 50 exercises, with worked solutions and progress saved to your account. The free exercises work without an account.

You create a free account first, so Pro is attached to it.

Monthly is charged today and then every month until you cancel, in one click from your account page. Lifetime is one payment with no renewals. Full refund within 14 days of paying.

Start with the free exercises

More exercises in Arrays and FILTER