Unique Text joined

Dossfm0q

Banned User
Joined
Mar 9, 2009
Messages
570
Office Version
  1. 2019
Platform
  1. Windows
this post was need for other post
How to prevent duplicated Text from (TEXTJOIN function)?


join.xlsx
ABCDEFGHIJKLMNOPQRSTUV
1
2TXTAA # AAB # BA # AB # B C # CAA # AAG # GF # F  #   #
3AA/B
4A
5B / C
6AA
7G
8F
Sheet2
Cell Formulas
RangeFormula
C2:V2C2=IF(MOD(COLUMN(C$2)-COLUMN($C$2)+1,2)=0," # ","")&IFERROR(MID(TEXTJOIN("/",TRUE,$A$3:$A$34),FIND("|",SUBSTITUTE("/"&TEXTJOIN("/",TRUE,$A$3:$A$34)&"/","/","|",CEILING((COLUMN()-COLUMN($C2)+1)/2,1))),FIND("/",TEXTJOIN("/",TRUE,$A$3:$A$34)&"/",FIND("|",SUBSTITUTE("/"&TEXTJOIN("/",TRUE,$A$3:$A$34)&"/","/","|",CEILING((COLUMN()-COLUMN($C2)+1)/2,1))))-FIND("|",SUBSTITUTE("/"&TEXTJOIN("/",TRUE,$A$3:$A$34)&"/","/","|",CEILING((COLUMN()-COLUMN($C2)+1)/2,1)))),"")
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Watch MrExcel Video

Forum statistics

Threads
1,130,206
Messages
5,640,839
Members
417,173
Latest member
Tuanphun

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
Top