Function Problems

Extract Matching Email Addresses in Excel for Mac Using FILTER

Huda QurayshiHuda Qurayshi Nov 18, 2026 869 views

Question details

Extract email addresses containing a specified organization domain and return the matching entries to another worksheet.

Extract Matching Email Addresses in Excel for Mac Using FILTER
Product
Microsoft Excel for Mac
Device & OS
macOS
Scenario
A user wants to find contacts with a particular email domain and display their addresses or complete records on a separate worksheet.
Observed behavior
The desired result is a list of matching email addresses or rows on another worksheet.
Before you start

Check that your version of Excel for Mac supports the FILTER function. Identify the source worksheet, the email column, and the domain text you want to find.

Solution 1Recommended

Use FILTER and SEARCH to return matching records

Use this formula when you want matching addresses or rows to update as the source data changes.

The examples assume the source worksheet is named Sheet1 and email addresses are in column C. SEARCH is case-insensitive and finds the specified text anywhere in an address.

1
Select the destination cell

Open the worksheet where you want the results and select a blank cell, such as A2. Leave enough empty cells below and to the right for the results to spill.

2
Enter a FILTER formula

To return complete rows from columns A through D, enter =FILTER(Sheet1!A2:D100,ISNUMBER(SEARCH("@example.com",Sheet1!C2:C100)),"") and press Return. Replace the sheet name, ranges, email column, and domain with your own.

3
Return addresses only if needed

To list only email addresses, enter =FILTER(Sheet1!C2:C100,ISNUMBER(SEARCH("@example.com",Sheet1!C2:C100)),"") in the destination cell instead.

4
Check the results

Review the spilled results on the destination worksheet. If Excel reports a spill error, clear any cells blocking the result area.

Use FILTER and SEARCH to return matching records
Domain matching: SEARCH matches text anywhere in the address, so @example.com also matches @example.com.other. Review the results if you need an exact domain match.
Filter records in WPS Spreadsheet

Extract domain-matching records with WPS Spreadsheet

Use a text filter in WPS Spreadsheet to find email addresses containing an organization domain, then copy the matching records to another worksheet.

  1. 1. Open the workbook: Open your Excel workbook in WPS Spreadsheet and select the worksheet containing the contact records.
  2. 2. Enable the filter: Select the data range, including its headers, and choose Data > Filter.
  3. 3. Filter the email column: Open the email column's filter arrow, choose Text Filters > Contains, enter @example.com or your target domain, and confirm.
  4. 4. Copy the matches: Select and copy the visible matching rows, then open the destination worksheet and paste them into the desired cell.
Find records containing a specific email domain with a text filterCopy matching rows to a separate worksheetOpen and edit Microsoft Excel XLSX filesWork with a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Can I return the entire contact row instead of just the email address?

Yes. In FILTER, use the full record range as the first argument, such as Sheet1!A2:D100, and use the email column range, such as Sheet1!C2:C100, inside SEARCH.

Why does the formula show a spill error?

The cells needed for the FILTER results may not be empty. Clear the cells below and to the right of the formula, or move the formula to a larger blank area.

Does SEARCH distinguish uppercase and lowercase email addresses?

No. SEARCH is case-insensitive, so a search for @example.com also finds @EXAMPLE.COM.

What happens when no email addresses match?

The example formula uses an empty string as FILTER's third argument, so it displays a blank result when there are no matches.

Will copied WPS Spreadsheet results update automatically?

No. After the source data changes, reapply the filter from the email column's filter arrow and copy the matching rows again.