Loading…
Loading…
TEXTBEFORE returns text before a delimiter.
=TEXTBEFORE(text, delimiter, [instance_num])
| Argument | Required? | What it is |
|---|---|---|
| text | Required | The text or cell to work with. |
| delimiter | Required | The text to split on or to put between items, such as ", " or "-". |
| instance_num | Optional | Which occurrence to use (1 for the first). Negative numbers count from the end. |
=TEXTBEFORE("ana@mail.com","@") returns ana. =TEXTAFTER("a/b/c.xlsx","/",-1) returns c.xlsx.
From the lesson TEXTBEFORE & TEXTAFTER.
Type the formula yourself and get it graded instantly, no Excel needed.