Uploaded by markafraley

Acronym and Title Extractor for Excel

advertisement
Acronym and Title Extractor for Excel
Create a temporary column next to the Excel column you want to screen, then paste formula into the row where you want to extract words with
2 or more CAPS. Change the argument A2 to the cell address that you want to start, then copy the formula down. It will return the cells with 2 or
more capital letters. It will return an error flag for cells that don’t meet the criteria. Filter those out, then delete the working column when you
are finished.
Either;
=TEXTJOIN(" ",,FILTERXML("<a><b>"&SUBSTITUTE(A2,"
","</b><b>")&"</b></a>","//b[translate(.,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')=.]"))
Or
=TEXTJOIN(" ",,FILTERXML("<t><s>"&SUBSTITUTE(A2," ","</s><s>")&"</s></t>","//s[translate(., 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', '')='']"))
Or (Best)
=LET(a,TEXTSPLIT(A2," "),TEXTJOIN(" ",TRUE,FILTER(a,EXACT(a,UPPER(a)),"")))
Or for a column (pulls numbers & symbols)
=MAP(A2:A10,LAMBDA(a,LET(r,TEXTSPLIT(a," "),TEXTJOIN(" ",,IF(EXACT(r,UPPER(r)),r,"")))))
Download