Excel

List only the rows you mean with FILTER

AutoFilter hides rows. It does not give you a list you can hand to someone else, and it is easy to save the file while a filter is still on. FILTER writes the matching rows somewhere you can see them.

With a table named Policies:

=FILTER(Policies, Policies[State]="TX", "Nothing in force for TX")

The third argument is what to show when nothing matches. Without it, no match returns #CALC!.

Two conditions

Multiply the tests. Each test has to be the same height as the table.

=FILTER(Policies, (Policies[State]="TX")*(Policies[Premium]>10000), "No rows")

The * means both have to be true. A + means either one.

FILTER is not SUMIFS

FILTER shows rows. When you only need the total, SUMIFS is the smaller answer and it works in older Excel:

=SUMIFS(Policies[Premium], Policies[State], "TX")

Use FILTER when a person needs to read the rows. Use SUMIFS when they need the number.

Leave a clear area for the spill. If something is in the way, Excel shows #SPILL! and a dashed border around the blocked cells.

Try this today

On a copy of a table, spill every row for one state into a blank area of the sheet. Then add a new matching row to the table and watch the spill grow.

FILTER is a Microsoft 365 dynamic-array function. It is not in Excel 2016 or Excel 2019.

More Excel tips