Array Functions
Intermediate

TEXTAFTER the last delimiter: a file name

A negative instance number counts from the end.

Task:

The document register stores full file paths. In B2:B5 extract just the file name — everything after the last slash.

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

5 rows × 2 columns4 cells you fill in
AB
1PathFile name
2S:/finance/2024/q1/budget.xlsx
3S:/hr/policies/leave.pdf
4S:/ops/rota.xlsx
5S:/sales/2024/leads/north/march.csv
What this exercise teachesMay contain the answer

Each path has a different number of folders, so "after the 3rd slash" works for one row only. Counting from the end makes the depth irrelevant: the file name is always after the last slash.