Trying to setup a vlookup function that will be able to call information from multiple workbooks.
There is a total of 26 workbooks, lets just call them book1 - book26
These workbooks have thousands of lines of information with 50 or so columns of information that need to be processed. I'm trying to narrow it down so it will lookup the certain columns of information that I wish to see in a compressed and easy to read way. For example, one piece of information I'm trying to lookup is if the item is labeled in one of the columns as "Domestic".
The one spreadsheet in question that I'm trying this on has 1155 rows and around 350 instances of "Domestic".
This is where it gets a bit more complex and I knew immediately I would need assistance. Since I'm trying to obtain this information from multiple workbooks I am having issues setting up a formula. This is what I have so far.
=IF(ISNA(VLOOKUP(A2,'[book1.xlsx]book1'!$A$2:$A$1156,1,0))),VLOOKUP(A2,'[book1.xlsx]book1'!$A$2:$A$1156,1,0)
I had a thought to put the information I wished to call the value of in a different sheet, but then it would get a bit more complex:
=IF(ISNA(VLOOKUP(Sheet2!A2,'[book1.xlsx]book1'!$A$2:$A$1156,1,0))),VLOOKUP(Sheet2!A2,'[book1.xlsx]book1'!$A$2:$A$1156,1,0)
This keeps popping up an error and I'm not sure why.
As I said earlier, this will then extend to Vlookup multiple workbooks, book1 thru book26, to obtain the same information. I found a good example online that shows the basics of what I'm trying to do:
=IF(ISNA(VLOOKUP(A2,Wrk1!$F:$G,2,0)),
IF(ISNA(VLOOKUP(A2,Wrk2!$F:$G,2,0)),
IF(ISNA(VLOOKUP(A2,Wrk3!$F:$G,2,0)),
VLOOKUP(A2,Wrk3!$F:$G,2,0)),
VLOOKUP(A2,Wrk2!$F:$G,2,0)),
VLOOKUP(A2,Wrk1!$F:$G,2,0))
That would actually extend 26 times.
If anyone has any insight on how handle this that would be great.
There is another step that I believe is even more complex that I am also having trouble with as well, but if I can figure out this first step that would be awesome and then I can ask the 2nd question in another thread.
Thanks!!
P.S. - I hope I am explaining this clearly, if not I'll do my best to clarify any information that might be confusing.
Bookmarks