Find All Excel Files on Windows 10: Full Guide
Searching for every Excel file on your Windows 10 PC can feel like looking for a needle in a haystack, especially if you have files scattered across multiple drives, folders, and cloud-synced locations. This guide shows you several reliable methods to locate all .xlsx, .xls, and .xlsm files, whether you need a quick list or want to manage them in bulk. You don’t need any special software—just the built-in tools in Windows 10.
What You’ll Need
- A Windows 10 PC with your files accessible (internal drives, external drives, or network locations you have permission to read).
- Basic familiarity with File Explorer and the Start menu.
- Optional: A text editor like Notepad if you want to save the list of results.
Step-by-Step
- Open File Explorer. Click the folder icon in your taskbar, or press Win + E on your keyboard.
- Navigate to the location you want to search. To search your entire PC, click “This PC” in the left sidebar. If you only want to search a specific drive or folder, click that instead (e.g., Local Disk C:).
- Click in the search box. It’s in the top-right corner of the File Explorer window. Type the following exactly:
ext:.xlsx OR ext:.xls OR ext:.xlsm. This tells Windows to look for files with those three extensions. - Press Enter or wait a moment. Windows will start searching. The time it takes depends on how many files you have and whether the location is indexed. You’ll see results appear as it works.
- Refine your search if needed. If you get too many results, you can add more criteria. For example, to find Excel files modified in the last month, click the “Date modified” button on the Search Tools tab (which appears when you click in the search box) and choose a preset like “Last 30 days.” Or add
datemodified:this monthto your search query. - Save your results (optional). If you want a list of all found files, click the “Search Tools” tab at the top, then click “Save search.” This saves a special search folder that updates automatically. Alternatively, you can copy the file paths from the results and paste them into Notepad.
- Use Command Prompt for a plain-text list. If you prefer a command-line method, open Command Prompt (type “cmd” in the Start menu and press Enter). Then type:
where /r C:\ *.xlsx *.xls *.xlsm > excel_files.txtand press Enter. This searches the entire C: drive and writes the full paths to a file named excel_files.txt. Change the drive letter if needed. (Note: This can be slow on large drives.) - Search from the Start menu (for a quick count). Click the Start button and type
*.xlsx(or just.xlsx). Windows will show a limited set of results, but it’s a quick way to see if any Excel files are indexed. This method does not show all files—it only shows files that are in indexed locations.
Common Mistakes
- Typing the extension wrong. Make sure you use
ext:(with a colon) and notext=or just.xlsx. The correct syntax isext:.xlsx. - Forgetting to include all extensions. Excel files can have .xlsx, .xls, .xlsm, .xlsb, .xltx, and .xltm. The guide covers the most common ones, but if you need all, add them to the OR list:
ext:.xlsx OR ext:.xls OR ext:.xlsm OR ext:.xlsb. - Searching only the current folder. If you’re inside a subfolder and search, Windows only searches that folder and its subfolders. Make sure you’re at the “This PC” level or the top of the drive you want.
- Ignoring hidden files. Some Excel files might be hidden. In File Explorer, click the “View” tab and check “Hidden items” to include them in the search.
- Using the wrong command in Command Prompt. The
wherecommand searches the current directory and PATH by default. The/rflag makes it recursive, but you must specify a starting directory. If you omit it, you’ll only search the current folder.
Tips
- Use the “This PC” search for a complete sweep. It covers all drives, including external ones that are currently connected.
- Leverage saved searches. After you run a search, click “Save search” to create a reusable virtual folder. You can pin it to Quick Access for one-click access.
- Combine with other filters. For example,
ext:.xlsx AND author:John(if your files have author metadata) orext:.xlsx AND size:>1MBto find large files. - Use the index for speed. Windows indexes common folders (like your user profile) automatically. If you search a folder that isn’t indexed, it will be slower. You can add folders to the index via Settings > Search > Searching Windows.
- For network drives, map them first. If your Excel files are on a network share, map it to a drive letter (e.g., Z:) so you can search it like a local drive.
Troubleshooting
- No results appear at all. Double-check your search syntax. Make sure there’s a space before “OR” and that you’re not accidentally including a trailing space. Also, verify that the location you’re searching actually contains Excel files—try a simple search like
*.xlsxto test. - Search is extremely slow. This usually happens when searching a large, non-indexed folder (e.g., an external drive or the Windows folder). You can narrow the search to a specific subfolder, or wait longer. For a faster command-line method, try
dir /s /b *.xlsxin Command Prompt, which is often quicker than thewherecommand. - Results are missing files. If you know a file exists but it doesn’t show up, it might be in a hidden or system folder. Enable “Hidden items” in the View tab. Also, if the file is in a location that’s not indexed, the search might be incomplete—try searching from the drive root instead of “This PC”.
- Command Prompt says “File Not Found” when using
where. This happens if the path is incorrect or the file doesn’t exist. Make sure you’re using the correct drive letter and that the drive is accessible. Also, thewherecommand doesn’t support multiple extensions in one go—you need to run it separately for each extension or use a wildcard like*.xls*(but that also matches .xlsx, .xlsm, etc., which is fine). - Search results show files but not all are Excel files. This can happen if you used a wildcard like
*.xls*which also matches files like .xlsb. To be precise, use theext:filter with exact extensions.
Frequently Asked Questions
Can I search for Excel files by their content, like a specific word?
Yes. In File Explorer, type a word or phrase in the search box, then add ext:.xlsx to limit to Excel files. Windows will search the content of indexed files. For non-indexed locations, content search may be slow or unavailable.
How do I find Excel files on an external hard drive?
Connect the drive, open File Explorer, click “This PC” and then double-click the external drive. Use the same search syntax (ext:.xlsx) in the search box. The search will be slower because external drives are usually not indexed.
What about Excel files stored in OneDrive or cloud folders?
If you have OneDrive synced to your PC, those files are in your user folder (e.g., C:\Users\YourName\OneDrive). Search that folder specifically. If the files are only online, you’ll need to use the OneDrive website or the OneDrive app’s search feature.
Is there a way to find all Excel files without using File Explorer?
Yes. You can use PowerShell. Open PowerShell and run: Get-ChildItem -Path C:\ -Recurse -Include *.xlsx,*.xls,*.xlsm -ErrorAction SilentlyContinue | Out-File excel_files.txt. This writes the list to a text file. It’s more powerful but requires a bit of command-line knowledge.
Why does my search not find files that I know exist?
Possible reasons: the file is hidden, the file is in a system folder that’s excluded from search, the file extension is not one of the ones you specified, or the file is on a network drive that isn’t mapped. Check these one by one.
Can I search for Excel files by file size or date?
Yes. In the search box, use size:>10MB to find files larger than 10 MB, or datemodified:last week to find files modified in the last week. Combine these with ext:.xlsx to narrow down.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.