maddog9486
New Member
- Joined
- Mar 13, 2015
- Messages
- 9
- Office Version
- 365
- Platform
- Windows
I have a data set of 954 questions that i am attempting to generate a unique list of keywords from. I am using the following code to generate a partial list, but I cannot extend past row 124 (i get a #CALC! error if i change 124 to any higher value). I suspect this is due to the character limit of TEXTJOIN. Is there a better way to do this to overcome the limit? I would prefer to avoid macros if possible, but if that is the only option, that will be ok.
Excel Formula:
=UNIQUE(FILTERXML("<t><s>"&TEXTJOIN("</s><s>",,SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(FAQ!C5:C124,", ","</s><s>"),"?","</s><s>"),CHAR(146),"</s><s>"),":","</s><s>"),".","</s><s>"),"""","</s><s>"),"(","</s><s>"),")","</s><s>"),"'","</s><s>"),CHAR(10),"</s><s>")," ","</s><s>"),"</s><s></s><s></s><s>","</s><s>"),"</s><s></s><s>","</s><s>"))&"</s></t>","//s"))