Useful text functions: LEFT, RIGHT, MID, and CONCATENATE
Not every function is about numbers — these help you clean up and combine text data, which is extremely common with real-world spreadsheets (names, codes, addresses).
LEFT — grab characters from the start
=LEFT("Excel2024", 5)
Returns Excel — the first 5 characters.
RIGHT — grab characters from the end
=RIGHT("Excel2024", 4)
Returns 2024 — the last 4 characters.
MID — grab characters from the middle
=MID("Excel2024", 2, 3)
Returns xce — starting at position 2, take 3 characters.
CONCATENATE (or the & symbol) — joining text together
Both of these do the same thing:
=CONCATENATE(A1, " ", B1)
=A1 & " " & B1
If A1 = "Maria" and B1 = "Lopez," both formulas produce Maria Lopez.
A practical example: splitting a full name
If A1 contains "Maria Lopez" and you want just the first name:
=LEFT(A1, FIND(" ", A1) - 1)
FIND(" ", A1) locates the position of the space; subtracting 1 gives you everything before it.
TRIM — removing extra spaces
=TRIM(" Maria Lopez ")
Returns Maria Lopez — removes leading, trailing, and repeated spaces. Extremely useful when importing messy data from another source.