Forum Discussion
Joel_Bauer
Sep 15, 2021Copper Contributor
Excel Text Manipulation II
Device: PC/Windows 10 Microsoft Office Home and Business 2013 Excel Product ID: 00196-20943-85146-AA714 Dear Community, Here is my second posting on this subject. By myself I am making a bit ...
HansVogelaar
Sep 15, 2021MVP
As an alternative, a very short VBA function:
Function GetAnimals(Animals As String, Letter As String)
GetAnimals = Join(Filter(Split(Animals, ","), Letter & "-"), ",")
End Function
Use like this:
See the attached version (now a macro-enabled workbook).
Detlef_Lewin
Sep 15, 2021Silver Contributor
- HansVogelaarSep 15, 2021MVP
Yes, I see what you mean! <grin>