How to Search for Multiple Names in an Excel Workbook at Once
Question details
The user needs an efficient method to bulk-search a large list of names across multiple Excel worksheets simultaneously, avoiding manual individual searches.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Cross-referencing a bulk list of names against records stored across various worksheets in an Excel workbook to find matches.
- Observed behavior
- Searching names one by one is time-consuming and prone to missed matches. A streamlined approach is required to identify matched clients, vendors, or employees instantly.
Gather all the names you want to search for into a single list and ensure your target worksheets share a consistent structure to make combining them easier.
Use the COUNTIF Formula to Find Multiple Names
Combine your data into a master table and use the COUNTIF function to quickly identify which names exist in your directory.
Paste your list of names into a single column in a new sheet, select the data, and press Ctrl+T to convert it into a Table. Name this table 'SearchList'.
Copy the relevant records from your various worksheets into one master sheet. Convert this consolidated range into a Table and name it 'Directory'.
In your 'SearchList' table, add a new column next to the names. Enter the formula: =IF(COUNTIF(Directory[Name],[@Name])>0,"Found","Not found").
Press Enter. Excel will automatically evaluate each name and display 'Found' if it exists in your directory, or 'Not found' if it is missing.

Use Power Query for Advanced Matching and Data Cleanup
For large or inconsistent datasets, Power Query helps you clean the data and merge tables to find matches without complex formulas.
Easily Search and Manage Large Datasets with WPS Spreadsheet
WPS Spreadsheet provides powerful functions and intuitive data processing tools, allowing you to seamlessly cross-reference large lists of names without complex setup.
- 1. Open Your Data: Launch WPS Spreadsheet and open the workbook containing your target directories.
- 2. Format as Tables: Paste your list of names into a new sheet and format both your search list and directory as tables for easier reference.
- 3. Apply Lookup Functions: Use the built-in function library to apply a =COUNTIF or =VLOOKUP formula to cross-reference your main data directory.
- 4. Filter the Results: Apply a filter to the results column to instantly isolate and view all matched or unmatched names.

Frequently Asked Questions
Why is my COUNTIF formula returning 'Not found' for names I know are there?
This usually happens due to trailing spaces, invisible characters, or formatting differences between the two lists. Try using the TRIM function on your data to remove extra spaces, or ensure both columns are formatted consistently as Text.
Can I search for multiple names without combining my worksheets?
While combining sheets is the easiest method, you can use a 3D reference with formulas like SUMPRODUCT and COUNTIF, or use Power Query to virtually append the sheets without altering your original workbook layout.
How do I handle names with different spellings like 'Jon' and 'John'?
If spellings vary, exact name matching will fail. It is recommended to compare additional unique identifiers alongside or instead of the name, such as an employee ID number, email address, or phone number.
Is Power Query available in all versions of Excel?
Power Query is built into Excel 2016 and newer versions, located under the Data tab. For Excel 2010 and 2013, it must be downloaded and installed as a free add-in from the official Microsoft website.




