Ghost Sheet

SUMPRODUCT with AND: compare two columns

How do I total freight for East deliveries that arrived after the promised date?

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

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

ABCDEFGH
1DeliveryRegionPromisedDeliveredFreightRefund owed
2DL-3300West11/08/202611/10/2026213.17
3DL-3301East11/06/202611/08/2026264.4
4DL-3302West11/02/202610/31/2026213.48
5DL-3303West11/04/202611/03/2026132.7
6DL-3304West11/21/202611/22/202640.48
7DL-3305East11/06/2026257.86
8DL-3306North11/21/202611/24/2026117.98
9DL-3307West11/10/202611/10/2026225.86
10DL-3308North11/08/202611/12/202662.5
11DL-3309East11/09/202611/12/2026247.75
12DL-3310West11/22/202611/24/2026216.17
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
SUMIFS cannot compare one column with another row by row. SUMPRODUCT can: multiply the tests, and a row counts only when every test is 1. Watch for text in a date column. Text counts as bigger than any number, so add ISNUMBER to keep it out.
The shape of the formula
=SUMPRODUCT((test1)*(test2)*values)
How to remember it
Each test is 1 or 0; multiplied, they are AND.
The usual mistake
A dash in a date column. “-” is bigger than every date, so it passes “later than promised”.

Keep practicing

Updated