Transforming Text in Formulas
Numbers has a mind for math, sure, but it’s also got a talent for juggling words and rearranging letters. The program’s many text functions let you work with your cells’ text entries to clean up your data, combine prose into new constructions, or pluck a snippet of text from the middle of a longer passage.
The way you’ll most commonly work with your text values is to combine them into entirely new values. In the same way that you add numbers with the + operator, you combine text with the & operator, which glues two bits of text together. In Numbers, text snippets are called strings and combining them is called something only a geek could love: concatenation. It works just like addition, only with strings instead of numbers. This formula, for example, concatenates a first name and last name into a full name, putting a space in between for good measure:
="Walter" & " " & "Kovacs"
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access