TEXTAFTER practice

Invoice and account identifiers can have variable-length prefixes. Extracting after a separator avoids brittle character positions.

Lesson 79 of 81 · 3 exercises

Practise TEXTAFTER

What you will practise

TEXTAFTER returns the remaining text after the chosen delimiter. Instance -1 selects the final occurrence. An explicit fallback handles records with no separator. The function supports scalar text and literal delimiters; array spills are outside this worksheet.

TEXTAFTER(text, delimiter, [instance], [match_mode], [match_end], [if_not_found])

The syntax above is a guide. Read the data and each task to choose the right arguments for your formula.

3 exercises in this lesson

  1. Exercise 1 · answer in E10

    Extract everything after the first hyphen in A2.

  2. Exercise 2 · answer in E10

    Extract the final segment after the last hyphen in A3, using instance -1.

  3. Exercise 3 · answer in E10

    Extract everything after the first hyphen in A4, returning "No suffix" if the separator is absent.

Before you check your answer

  • Keep the source data intact. Write your answer in the highlighted result cell. Changing a source value changes the question instead of solving it.
  • Use the requested cells. Check the first and last row of a range and read its column heading. A plausible total can still come from the wrong data.
  • Reference values that can change. A fixed number may match today's sheet. A cell reference keeps the formula connected when the source values change.

How the answer is checked

The workbook evaluates your formula against the requested result. It also checks the skill being practised and tests the formula with changed source data, so a fixed answer that happens to match is not enough.

Use progressive hints when you need help, then try the task again with fresh data. Correctly solving a step opens the next exercise.