---
title: "Keep the rows for one region with FILTER | PracticeExcel"
description: "Practice FILTER in a live spreadsheet: list every row for one region and watch the result spill."
canonical_url: "https://practiceexcelonline.com/practice/filter-function/filter-one-condition"
locale: en
meta:
  "og:description": "Practice FILTER in a live spreadsheet: list every row for one region and watch the result spill."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Keep%2Bthe%2Brows%2Bfor%2Bone%2Bregion%2Bwith%2BFILTER%2Cdescription_~UHJhY3RpY2UgRklMVEVSIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogbGlzdCBldmVyeSByb3cgZm9yIG9uZSByZWdpb24gYW5kIHdhdGNoIHRoZSByZXN1bHQgc3BpbGwu%2Ceyebrow_FILTER%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJSZWdpb24iLCJSZXAiLCJTYWxlcyIsIlJlcCJdfSx7Im4iOjIsImNlbGxzIjpbIk5vcnRoIiwiQW5uIiwiNDIwIiwiIl19LHsibiI6MywiY2VsbHMiOlsiU291dGgiLCJCZW4iLCIzMTAiLCIiXX0seyJuIjo0LCJjZWxscyI6WyJOb3J0aCIsIkN5IiwiMTUwIiwiIl19LHsibiI6NSwiY2VsbHMiOlsiV2VzdCIsIkRpIiwiNTAwIiwiIl19LHsibiI6NiwiY2VsbHMiOlsiU291dGgiLCJFZCIsIjI2MCIsIiJdfV0sInRhcmdldCI6WzEsM119fQ%2Cp_Ii9wcmFjdGljZS9maWx0ZXItZnVuY3Rpb24vZmlsdGVyLW9uZS1jb25kaXRpb24i%2Cs_R5NGor3oMKASztbB.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Keep the rows for one region with FILTER | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Keep%2Bthe%2Brows%2Bfor%2Bone%2Bregion%2Bwith%2BFILTER%2Cdescription_~UHJhY3RpY2UgRklMVEVSIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogbGlzdCBldmVyeSByb3cgZm9yIG9uZSByZWdpb24gYW5kIHdhdGNoIHRoZSByZXN1bHQgc3BpbGwu%2Ceyebrow_FILTER%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJSZWdpb24iLCJSZXAiLCJTYWxlcyIsIlJlcCJdfSx7Im4iOjIsImNlbGxzIjpbIk5vcnRoIiwiQW5uIiwiNDIwIiwiIl19LHsibiI6MywiY2VsbHMiOlsiU291dGgiLCJCZW4iLCIzMTAiLCIiXX0seyJuIjo0LCJjZWxscyI6WyJOb3J0aCIsIkN5IiwiMTUwIiwiIl19LHsibiI6NSwiY2VsbHMiOlsiV2VzdCIsIkRpIiwiNTAwIiwiIl19LHsibiI6NiwiY2VsbHMiOlsiU291dGgiLCJFZCIsIjI2MCIsIiJdfV0sInRhcmdldCI6WzEsM119fQ%2Cp_Ii9wcmFjdGljZS9maWx0ZXItZnVuY3Rpb24vZmlsdGVyLW9uZS1jb25kaXRpb24i%2Cs_R5NGor3oMKASztbB.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **Keep the rows for one region with FILTER**

1.
2.
3.

Step 1 of 3

VLOOKUP and XLOOKUP stop at the first match. **FILTER** returns every row that passes a test, here every row where the region is **North**.

Click **Continue** when you're ready.

Already know it? Type the formula straight into E2.

E2fx

|  | A | B | C | D | E | F | G |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | Region | Rep | Sales |  | Rep | Sales | |
| 2 | North | Ann | 420 |  |  |  | |
| 3 | South | Ben | 310 |  |  |  | |
| 4 | North | Cy | 150 |  |  |  | |
| 5 | West | Di | 500 |  |  |  | |
| 6 | South | Ed | 260 |  |  |  | |
| 7 | North | Fay | 380 |  |  |  | |
| 8 |  |  |  |  |  |  | |

Need help?

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/practice/filter-function/filter-one-condition#webpage","description":"Practice FILTER in a live spreadsheet: list every row for one region and watch the result spill.","name":"Keep the rows for one region with FILTER","url":"https://practiceexcelonline.com/practice/filter-function/filter-one-condition","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/practice/filter-function/filter-one-condition#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/practice/filter-function/filter-one-condition#/schema/question/1"},{"@id":"https://practiceexcelonline.com/practice/filter-function/filter-one-condition#/schema/question/2"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/filter-function/filter-one-condition"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/filter-function/filter-one-condition#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://practiceexcelonline.com/practice","position":2},{"@type":"ListItem","name":"FILTER","item":"https://practiceexcelonline.com/practice/filter-function","position":3},{"@type":"ListItem","name":"Keep the rows for one region with FILTER","position":4}]},{"@id":"https://practiceexcelonline.com/practice/filter-function/filter-one-condition#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"What does the FILTER function do?","acceptedAnswer":{"@type":"Answer","text":"It returns every row of a range where a test is TRUE, for example =FILTER(B2:C7,A2:A7=\"North\"). The result spills into the cells below."}},{"@id":"https://practiceexcelonline.com/practice/filter-function/filter-one-condition#/schema/question/2","@type":"Question","inLanguage":"en-US","name":"Which versions of Excel have FILTER?","acceptedAnswer":{"@type":"Answer","text":"Excel for Microsoft 365, Excel 2021 and later, and Excel for the web. Google Sheets has FILTER too."}},{"@id":"https://practiceexcelonline.com/practice/filter-function/filter-one-condition#/schema/learning-resource/1","@type":"LearningResource","description":"Practice FILTER in a live spreadsheet: list every row for one region and watch the result spill.","educationalLevel":"intermediate","isAccessibleForFree":true,"learningResourceType":"exercise","name":"Keep the rows for one region with FILTER","teaches":"FILTER"},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
