Extract Matching Email Addresses in Excel for Mac Using FILTER
Question details
Extract email addresses containing a specified organization domain and return the matching entries to another worksheet.

- 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.
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.
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.
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.
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.
To list only email addresses, enter =FILTER(Sheet1!C2:C100,ISNUMBER(SEARCH("@example.com",Sheet1!C2:C100)),"") in the destination cell instead.
Review the spilled results on the destination worksheet. If Excel reports a spill error, clear any cells blocking the result area.

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. Open the workbook: Open your Excel workbook in WPS Spreadsheet and select the worksheet containing the contact records.
- 2. Enable the filter: Select the data range, including its headers, and choose Data > Filter.
- 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. Copy the matches: Select and copy the visible matching rows, then open the destination worksheet and paste them into the desired cell.

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.




