How to Search Inside Excel Spreadsheets on Windows

September 15, 2026 · 6 min read

You have dozens of Excel files scattered across your computer. Financial reports, inventory lists, client databases, project trackers. You need to find which spreadsheet contains a specific value, a client name, or a product code. The problem is that Excel's Ctrl+F only searches the file you currently have open.

If you have 40 spreadsheets in a folder and the data could be in any of them, opening each one and searching manually is not realistic. Here are three ways to search inside Excel files on Windows, from the simplest to the most powerful.

Method 1: Excel's Built-in Find (Single File)

Excel has a capable search function, but it is designed for searching within a single workbook at a time.

Steps:

  1. Open your Excel file
  2. Press Ctrl+H to open Find & Replace
  3. Click Options to expand the search settings
  4. Change the Within dropdown from "Sheet" to Workbook
  5. Type your search term and click Find All

This shows every match across all sheets in the current workbook, along with the sheet name, cell reference, and value. It works well for a single file.

Limitations:

Method 2: VBA Macro (Search a Folder of Excel Files)

If you are comfortable with a bit of code, a VBA macro can open every Excel file in a folder and search each one automatically. This method genuinely works and is a solid solution for power users.

Steps:

  1. Open Excel and press Alt+F11 to open the VBA editor
  2. Click Insert > Module
  3. Paste the following code:
Sub SearchAllExcelFiles()
    Dim folderPath As String
    Dim fileName As String
    Dim searchTerm As String
    Dim wb As Workbook
    Dim ws As Worksheet
    Dim cell As Range

    searchTerm = InputBox("Enter search term:")
    If searchTerm = "" Then Exit Sub

    folderPath = "C:\Users\YourName\Documents\Spreadsheets\"
    fileName = Dir(folderPath & "*.xlsx")

    Do While fileName <> ""
        Set wb = Workbooks.Open(folderPath & fileName, ReadOnly:=True)
        For Each ws In wb.Worksheets
            Set cell = ws.Cells.Find(What:=searchTerm, LookIn:=xlValues)
            If Not cell Is Nothing Then
                Debug.Print fileName & " | " & ws.Name & " | " & cell.Address & " | " & cell.Value
            End If
        Next ws
        wb.Close SaveChanges:=False
        fileName = Dir()
    Loop

    MsgBox "Search complete. Check the Immediate window (Ctrl+G) for results."
End Sub
  1. Update the folderPath to point to your folder
  2. Press F5 to run the macro
  3. Enter your search term when prompted
  4. View results in the Immediate window (Ctrl+G)

This macro opens each .xlsx file in the folder, searches every worksheet, and prints the filename, sheet name, cell address, and value for each match.

Limitations:

Method 3: FileScope (Search All Spreadsheets Instantly)

FileScope is a desktop app that indexes the contents of your files, including every sheet and cell in your Excel spreadsheets. Once indexed, you can search across all of them at once using a global keyboard shortcut.

Steps:

  1. Download and install FileScope
  2. Choose which folders to index during onboarding
  3. Wait for initial indexing to complete
  4. Press Ctrl+Space anywhere on your desktop
  5. Type what you're looking for
  6. Open the matching spreadsheet directly from the results

FileScope uses the exceljs library to read every sheet and every cell from your .xlsx files during indexing. The content is stored locally and made searchable through both full-text search and AI-powered semantic search. If you type "Q3 sales numbers," it can find your spreadsheet even if the actual cell values say "Revenue Jul-Sep 2026."

Because FileScope indexes all file types at once, a single search can return results from Excel files, Word documents, PDFs, and even text extracted from images via OCR.

Advantages:

Comparison

Feature Excel Find VBA Macro FileScope
Search multiple files No Yes Yes
Search all sheets Yes (one file) Yes Yes
No coding required Yes No Yes
Search by meaning No No Yes
Also searches PDFs / Word No No Yes
Speed Fast (one file) Slow (opens each file) Under 1 second
Ease of use Easy Requires VBA knowledge Very easy
Price Requires Excel license Requires Excel license $19 one-time

Conclusion

Excel's built-in Find works perfectly when you already know which file contains your data. The VBA macro is a legitimate solution for searching across a folder of spreadsheets, and it is worth using if you are comfortable with code and only need to search Excel files.

If you want to search across all your spreadsheets without writing macros, or you need to search Excel files alongside PDFs, Word documents, and other file types, FileScope handles it all from a single search bar. Everything runs locally on your machine.

Ready to search smarter?

Find the spreadsheet you need, even when you forgot what you named it. Private. Local. AI-powered.

Get FileScope — $19 Lifetime