LOOKUP with TEXTJOIN

Nanaia

Active Member
Joined
Jan 11, 2018
Messages
306
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Is it possible to nest TEXTJOIN in a LOOKUP function? I want it to look up what's in B4, look for a match in an array (REF!$B$2:REF!$G$24) and TEXTJOIN what's in REF! columns F and G the same row as what it found in B4. So if the value in B4 is located at REF!B12 in the array, then TEXTJOIN REF!F12 and REF!G12. I tried nesting them but it didn't work the way I did it.
 
Last edited:

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
You could do this:

=VLOOKUP(B4,Sheet10!$B$2:$G$24,5,0)&","&VLOOKUP(B4,Sheet10!$B$2:$G$24,6,0)

It works OK for 2 cells. I tried putting TEXTJOIN around a VLOOKUP with {5,6} for the column reference, but in general, lookup functions don't fare well in array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,232
Messages
6,123,765
Members
449,120
Latest member
Aa2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top