Searching multiple excel documents one by one can be difficult. However, PowerShell is an amazing tool for search through tons of information. Below is the instruction on how to search multiple excel docs and return the matches.

Note: I do prefer to search the file format .csv, however you should have no problem with .xlsx

  1. Navigate to the directory you wish to search (This works best if all excel documents are in the same folder).
  2. Run the command listed below replacing “searchabletext” with what you want to look for.

Command: Get-Children -Recurse | Select-String “searchabletext” -list -Context 0,0



Leave a Reply

Your email address will not be published. Required fields are marked *