MID
TextExcel 2007A run of characters from the middle of a string.
Syntax
MID(text, start_num, num_chars)
Arguments
- text
- The string.
- start_num
- Position of the first character (1-based).
- num_chars
- How many characters to return.
Examples
=MID("DL-05-2019-1234567", 4, 2)
→ 05 — The RTO code.
Related functions
More Text functions
Syntax follows Microsoft’s documentation. Examples are written to be pasted into a cell and checked. Argument separators may be ; in your locale. The AI explainer runs on a free community model — verify anything important.