Forum Discussion
Convert string of abbreviations into full words
- May 16, 2023
Name the list of abbreviations on the second sheet Abbr, and name the list of full terms in the second column Term.
With lab_tech_id in A2 on the first sheet, enter the following formula in B2:
=TEXTJOIN(" ", TRUE, XLOOKUP(TEXTSPLIT(A2, "_"), Abbr, Term, ""))
If you want to force the result to proper case:
=PROPER(TEXTJOIN(" ", TRUE, XLOOKUP(TEXTSPLIT(A2, "_"), Abbr, Term, "")))
Name the list of abbreviations on the second sheet Abbr, and name the list of full terms in the second column Term.
With lab_tech_id in A2 on the first sheet, enter the following formula in B2:
=TEXTJOIN(" ", TRUE, XLOOKUP(TEXTSPLIT(A2, "_"), Abbr, Term, ""))
If you want to force the result to proper case:
=PROPER(TEXTJOIN(" ", TRUE, XLOOKUP(TEXTSPLIT(A2, "_"), Abbr, Term, "")))
- DataMiner21146May 16, 2023Copper ContributorPerfect! And used the one with "Proper case"!