Skip to playerSkip to main content
Learn how to search data in multiple Excel workbooks.

Searching for data across multiple Excel workbooks can be efficiently accomplished through various methods. One approach is to utilize Power Query, an Excel feature that enables users to consolidate and transform data from different sources. To search for specific data across multiple sheets within Excel workbooks, one can employ the 'Get Data' function in Power Query to import data from various workbooks into a single query. By specifying criteria, users can filter and extract the desired information seamlessly.


Let's break this formula down.

=LET(
a, VSTACK(mytab1,mytab2,'[data1.xlsx]mySheet1'!mytab11,'[data2.xlsx]mySheet2'!mytab12),
IF($A$2"",
FILTER(a,ISNUMBER(SEARCH($A$2,a)),""),
"Enter Search Text")
)

1) LET Function: This function allows you to define variables and their values within a formula.

2) Variables a: This variable appears to be defined as the result of stacking multiple ranges together using the VSTACK function. It combines data from various sources including 'mytab1' and 'mytab2' within the current workbook, as well as data from two external workbooks '[data1.xlsx]mySheet1' and '[data2.xlsx]mySheet2'.

3) IF Function: This function checks if cell A2 is not empty.
Condition: $A$2"" (checks if cell A2 is not empty).

4) FILTER Function: This function filters an array based on a specified condition.
Array: The variable 'a' (the stacked data).
Include: ISNUMBER(SEARCH($A$2,a)) - This checks if the search text (from cell A2) is found in 'a'.

5) ISNUMBER Function: This function checks if a value is a number.
In this context, it's used to check if the SEARCH function returns a valid position where the search text is found within 'a'.



🔗🔗 LINKS TO SIMILIAR VIDEOS 🔗🔗
Search data in an entire Excel workbook - Excel Tips and Tricks
https://youtube.com/shorts/HOu5W987PKI?feature=share

Search Data in Multiple Excel Workbook - Excel Tips and Tricks
https://youtube.com/shorts/EfiRWy40P0M?feature=share


Search Data in Multiple Excel Workbook,How do I search data in multiple Excel workbooks?,How do I search for data across multiple sheets in Excel?,How to pull data from multiple workbooks in Excel based on criteria?,How do I find the value of multiple Excel files?,How do I pull data from multiple Excel workbooks using Power Query?,

Check out my complete suite of Microsoft Excel Tips and Tricks.
https://www.youtube.com/@jjnet247/shorts
https://www.tiktok.com/@exceltips247
https://www.instagram.com/exceltips247/
https://www.dailymotion.com/ExcelTips247
https://www.pinterest.com/ExcelTips247/excel-tips-and-tricks/
https://x.com/ExcelTips247/media
https://www.reddit.com/r/Excel247/
https://www.facebook.com/XyberneticsInc/reels/

#microsoft #excel #tips #tipsandtricks #microsoftexcel #accounting #fyp #fypã‚· #exceltips #exceltricks
Transcript
00:00Okay, imagine this. What if I tell you that you can do a word search on multiple workbooks like
00:05this, where I'm doing a word search in Dada 1 and Dada 2 workbook from my tips worksheet.
00:11Interested to learn? Let's get started. In part 1 of the video, I thoroughly explained this formula
00:16for conducting word search across multiple worksheets on the same workbook. If you need
00:21the video link, please leave a request in the comment. We have two workbooks called Dada 1
00:25and Dada 2. Let's call the table in Dada 1 my tab 11 and table in Dada 2 my tab
00:3012. Also note that
00:31the worksheet name is called mysheet1 on Dada 1 and mysheet2 on Dada 2. Now let's go back to our
00:38original workbook and modify the existing formula like this to include the two new tables in our
00:43vstack function from Dada 1 and Dada 2 workbook. After that, hit enter. Over here, select enable to
00:49allow this workbook to access data from the other workbooks. And then you are done. That's how you
00:54do a word search across multiple different workbooks.
Comments

Recommended