Forum Discussion
Multiple V-LookUp returns
- adobinson95Dec 11, 2017Copper Contributor
Hi Kevin,
Thank you for your reply however I'm still having a bit of difficulty with it.
The first [External Workbook.xlsx] - is that the book I'm using or the book I want to retrieve the information from? and vice versa for the second book?
When I try the formula I get the error message #NAME?
Also why is it Sheet 2?
Sorry for all the questions,
Andrew
- Kevin LehrbassJan 18, 2018Brass Contributor
Hi Andrew,
What version of Excel are you using? TEXTJOIN function is a new function and maybe it doesn't exist in the version that you are using.
Sorry for such a late response.
Regards,
Kevin
- Kevin LehrbassDec 08, 2017Brass Contributor
I should point out that the TEXTJOIN function is usually NOT an array formula. However, in your case, you want to get the values only for those that match the current code (row by row).
So...here: IF($A2='[External Workbook.xlsx]Sheet2'!$A$2:$A$25 we have the IF condition and then here: '[External Workbook.xlsx]Sheet2'!$D$2:$D$25 it is concatenating the values from column D.
You will need to adjust the formula according to your workbook names and possibly change the column references.....and as I mentioned before you need to press CONTROL SHIFT ENTER as it's an array formula.