Data in een cel splitsen over meerdere cellen

Probleem:

Gegevens in [ A2 ] in het volgende formaat:
Achternaam Voornaam Nummer

Bijvoorbeeld:
Smith John 12345678

Eindresultaat moet zijn:
[ B2 ] = Voornaam
[ C2 ] = Achternaam
[ D2 ] = Nummer

Formule: [ B2 ]:

=TRIM(MID(A2; SEARCH(" "; A2) + 1; SEARCH(" "; A2; SEARCH(" "; A2) + 1) - SEARCH(" "; A2) - 1))

Formule: [ C2 ]:

=TRIM(LEFT(A2; SEARCH(" "; A2) - 1))

Formule: [ D2 ]:

=TRIM(RIGHT(A2; LEN(A2) - SEARCH(" "; A2; SEARCH(" "; A2) + 1)))

Leave a Reply

Your email address will not be published. Required fields are marked *