MID
Cut out a substring from a starting character position.
Syntax
=MID(text, start_num, num_chars)Worked example
Read the three characters starting at position five.
=MID("SKU-802-A",5,3)Result 802 (text)
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceHow to use MID Function in Excel | Text Functions in Excel
Practice MID
Read the three characters starting at position five.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 |
Show example formula
=MID(B2,B3,B4) Lesson quiz
Answer three questions to see your level in this lesson.
