All functions / Text

MID

Characters from the middle of a text value.

Syntax

=MID(text, start_num, num_chars)

Arguments

Example

=MID("AB-1234-X", 4, 4) → "1234"

Practise it