Ghost Sheet

COUNTIFS: count with several conditions

How do I count late shipments for each carrier?

This is the task for this topic. It is part of the plan; the level check before it is free.
F3Type a formula for F3, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDEF
1ShipmentCarrierDays in transitLate after (days)3
2SH-8801Pacific Freight3CarrierLate shipments
3SH-8802Ridgeline2Pacific Freight
4SH-8803Coastal Express3Ridgeline
5SH-8804Pacific Freight3Coastal Express
6SH-8805Ridgeline2
7SH-8806Coastal Express3
8SH-8807Pacific Freight1
9SH-8808Pacific Freight5
10SH-8809Coastal Express2
11SH-8810Pacific Freight1
12SH-8811Pacific Freight4
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
COUNTIFS counts rows that pass every condition, given as pairs of range and condition. Use it for questions like “late and from this carrier” or “open and over $500”. Conditions can be words, numbers or comparisons built from a cell.
The shape of the formula
=COUNTIFS(range 1, condition 1, range 2, condition 2)
How to remember it
Each pair is one question; a row is counted only if it answers yes to all of them.
The usual mistake
Typing the limit inside the quotes, as in ">3". When the rule changes, the count does not.

Keep practicing

Updated