Ghost Sheet

TEXTBEFORE: the first name from a full name

How do I get just the first name for a greeting?

This is the task for this topic. It is part of the plan; the level check before it is free.
C2Type a formula for C2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDE
1CustomerMobileFirst name
2Eli Obi503-555-0100
3Maya Wong503-555-0101
4Lena Novak503-555-0102
5Maya Lund503-555-0103
6Grace Ruiz503-555-0104
7Omar Wong503-555-0105
8Hana Haddad503-555-0106
9Lena Menon503-555-0107
10Hana Marsh503-555-0108
11Felix Ruiz503-555-0109
12Tomas Obi503-555-0110
13
14
15
16
17
18
19
20
21
22
23
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
TEXTBEFORE(text, " ") returns what comes before the first space. Trim the name first in case it starts with a space, and add a space at the end so a one-word name still has a space to find.
The shape of the formula
=TEXTBEFORE(TRIM(name) & " ", " ")
How to remember it
Give it a space to find, and it never fails.
The usual mistake
LEFT and FIND on raw names. A leading space gives an empty greeting and a one-word name gives #VALUE!.

Keep practicing

Updated