Forum Discussion
marshalltj67
Nov 04, 2023Brass Contributor
Need to break up 1 cell into multiple columns (text has multiple conditions)
Need to break up 1 cell into multiple columns (text has multiple conditions) The source cell is as follows: Last, First, MI Rank USSF MAJCOM 123 SQUADRON/OFFICE Rank conditions are as follows: AB...
- Nov 06, 2023
See if the attached workbook does what you want. I used some helper columns.
michaelaskew
Nov 06, 2023Copper Contributor
Certainly, here are the shorter versions of the formulas:
Column 1 (Last, First, MI):
=LEFT(A1, FIND(" ", A1) - 1)
Column 2 (Rank):
=MID(A1, FIND(" ", A1) + 1, FIND(" ", A1, FIND(" ", A1) + 1) - FIND(" ", A1) - 1)
Column 3 (MAJCOM 123 SQUADRON/OFFICE):
=MID(A1, FIND(" ", A1, FIND(" ", A1) + 1) + 1, LEN(A1) - FIND(" ", A1, FIND(" ", A1) + 1))
Regards
(external link removed by moderator)