Jun 26 2019 11:43 PM
Hello Everyone ,
I have the text join formula to combine a series of text in a row.
But the cells have a vlookup formula to get data from another sheet. When try to join the text resulted in the cells by the vlookup formula, the formula of textjoin does not work.
Please see the image i have added a better understanding .
Text Join : =TEXTJOIN(" | ";TRUE;IF(COLUMN(F4:Y4)=MATCH(F4:Y4;F4:Y4;0);F4:Y4;""))
Formula in the cells :=IFNA(VLOOKUP($A4&COLUMNS(F3:$F4);'Reception '!$M$2:$N$50000;2;0);"")
Help please
Jun 27 2019 01:57 AM
My guess would be:
=TEXTJOIN(" | ";TRUE;IF(COLUMN(F4:Y4)-COLUMN($F4)+1=MATCH(F4:Y4;F4:Y4;0);F4:Y4;""))
Jun 27 2019 06:56 AM
Thanks much for the time . Unfortunately, this one does not work as well.
Do you think it is because the there is some formula already there in the cell ?
Jun 27 2019 08:00 AM
Jun 27 2019 11:01 AM
I'd wrap by IFERROR
=TEXTJOIN(" | ",TRUE,IFERROR(IF(COLUMN(F4:Y4)-COLUMN($F4)+1=MATCH(F4:Y4,F4:Y4,0),F4:Y4,""),""))
Jun 28 2019 10:49 AM
Please be kind to the helpers and do not upload such big files that take ages to load and to calculate.
I deleted some empty rows and some formulas and the conditional formatting because they were all slowing down the spreadsheet. That left 1.7 MB from the original 9 MB.
I created a different solution using Power Query instead of Excel's TEXTJOIN().
The result is still shown as a pivot table.
Jun 30 2019 01:23 PM
@Detlef Lewin , My sincere apologies for the inconvenience caused. This won't you repeated again.
Thank you very much for the help and time.
Jul 02 2019 09:12 AM
I investigated the issues you mailed to me.
The problem is there are additional blanks after some texts. To deal with that I inserted a Trimmed Text-step in tbl_Reception.
To unify the order of the text blocks I inserted List.Sort into the Extracted Values-step in qry_Reception.
= Table.TransformColumns(#"Added Custom", {"Temp", each Text.Combine(List.Transform(List.Sort(_), Text.From), "|"), type text})
I hope it helps.
Jul 02 2019 11:42 PM