How to fragment a column in Numbers?

I heve one column with full names and I need to frgmante it to two colums - first name and second name. How do I do it in Numbers?

MacBook Air 13″

Posted on Aug 4, 2023 7:04 AM

Reply
Question marked as Best reply

Posted on Aug 4, 2023 10:42 AM

A simple way, assuming the full name is in A2 and you always have a first name and last name (but no middle name) is:


In the first of the two columns, say B2:


=TEXTBEFORE(A2," ")


In the second of the two columns, say C2:


=TEXTAFTER(A2," ")


If you sometimes have a middle name then you could try:


=TEXTBEFORE(A5," ",−1)


and,


=TEXTAFTER(A5," ",−1)


The -1 simply says find the last space in the full name.


More on these functions here:


TEXTBEFORE - Apple Support

TEXTAFTER - Apple Support


SG



2 replies
Question marked as Best reply

Aug 4, 2023 10:42 AM in response to oribendov

A simple way, assuming the full name is in A2 and you always have a first name and last name (but no middle name) is:


In the first of the two columns, say B2:


=TEXTBEFORE(A2," ")


In the second of the two columns, say C2:


=TEXTAFTER(A2," ")


If you sometimes have a middle name then you could try:


=TEXTBEFORE(A5," ",−1)


and,


=TEXTAFTER(A5," ",−1)


The -1 simply says find the last space in the full name.


More on these functions here:


TEXTBEFORE - Apple Support

TEXTAFTER - Apple Support


SG



How to fragment a column in Numbers?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.