Use FILTER in Google Sheets to show rows that meet conditions

Create a dynamic filtered view of rows that match one or more conditions using the FILTER function so your sheet only displays relevant data.

What the video covers

Apply the FILTER function in a cell to return rows from a source range that satisfy one or more condition ranges and criteria.

Watch the video on YouTube

Step-by-step instructions

  1. Select the output cell
    Click the cell where you want the filtered results to appear. The FILTER result will spill into adjacent rows/columns as needed.
  2. Start the FILTER formula
    Type =FILTER( to begin the function.
  3. Specify the source range
    Enter or select the range of rows you want returned (for example A2:B10). This is the array argument.
  4. Add condition range and criteria
    After the source range, add a comma then the condition range and its criterion. For example, to keep rows where column B is greater than 50 use B2:B1050. The general form: =FILTER(source_range, condition_range criterion).
  5. Handle multiple conditions (optional)
    Combine conditions with multiplication for AND or addition for OR. For example, use (B2:B1050)*(C2:C10="Yes") for rows where B50 AND C equals Yes.
  6. Finish and confirm
    Close the parentheses and press Enter. The filtered rows should appear. If no rows match, consider wrapping with IFERROR to display a message: =IFERROR(FILTER(…), "No matching rows").

Watch the video

Video thumbnail for Use FILTER in Google Sheets to show rows that meet conditions Play tutorial

Watch on YouTube

Why it matters

FILTER produces a dynamic result range that updates automatically when source data changes, making it easier to analyze and present only relevant records without changing the original data.

Check your result

After pressing Enter, the target cell should expand to show only the rows from the source range that meet your criteria. Change a value in the source range to confirm the filtered output updates.

Troubleshooting

If you see an #N/A or no results, verify your condition is correct (e.g., use 50 rather than text 'more than 50'). Ensure all referenced ranges have matching dimensions (same number of rows). If FILTER returns an error when no rows match, wrap it with IFERROR to show a friendly message.