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.
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
Split a policy number without a helper column
TEXTBEFORE, TEXTAFTER, and TEXTSPLIT pull a policy number apart in the cell where you need the piece. No Flash Fill, no Text to Columns, no broken leftovers.
Excel · 4 minReplace VLOOKUP with XLOOKUP
XLOOKUP looks left or right, defaults to an exact match, and can return a sentence instead of #N/A. Use =XLOOKUP(E2, Policies[PolicyNumber], Policies[Insured], "Not on the bordereau").
Excel · 3 minPut the data in a Table before you write formulas
Ctrl+T turns a range into an Excel Table. Formulas fill down, new rows are included, and you can write =SUM(Policies[Premium]) instead of a range that goes stale.