Forum Discussion
Rudrabhadra
Jul 08, 2022Brass Contributor
Vlookup & Textjoin
Is it possible to use text join along with vlookup function to get values from different columns in to one cell? If so how can this be done. If it is not possible with these two functions is there an...
- Jul 08, 2022
OliverScheurich
Jul 08, 2022Gold Contributor
- RudrabhadraJul 09, 2022Brass ContributorI had used char(10) in the delimiter for separating the lines in to one cell. Now as per the given formulae it takes all columns to separate lines in the cell. I am looking for a possible way to separate only specific columns as required, not all columns to separate lines?
Formula used:
=TEXTJOIN(CHAR(10),,VLOOKUP(Sheet1!A2,Master!A:N,{3,4,5,6,7,8,9,10,11,12,13,14},0))
here I need column 4 and 5 to appear in the same line (no need to separate it in different lines).
Thanks in advance....