How to extract certain rows in Excel?

By using FILTER function, we can extract a specific record from table in excel.

For example, in the table below, we want to know how old is benjamin?

NameAgeHeightWeight
Olivia25210180
Noah25205235
Oliver27195205
Elijah22198185
James29199231
William29201240
Benjamin21202235
Lucas25200238
Henry22204190
How to extract certain rows in Excel?
=FILTER(A7:D16,(A7:A16="benjamin" ))
answer is  {Benjamin,21,202,235}


FILTER function

The FILTER function is one of the Lookup & reference functions of Excel.

It extracts all record from the database that matches the specified conditions.

FILTER Arguments 

FILTER(array, include, [if_empty])

FILTER function has 3 arguments:

  • array you can enter the range of cells that make up the list or database.
  • include is either the label of the column in double quotation marks.
  • [if_empty] is the range of cells that contains the conditions you specify.

Leave a Reply

Your email address will not be published. Required fields are marked *