TEXTBEFORE and TEXTAFTER
0 / 7
Step 1 of 7
TEXTBEFORE gives the text before a separator. An office keeps team codes like "North-Sales".
Type =TEXTBEFORE(A2, "-") to get the text before the hyphen in A2.
Selected cell: B2fx
| Row / column | A | B | C |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 |
Tip: tap a cell to add its reference.