Explanation

The MID function returns characters using a fixed starting point and ending point.

With these arguments, MID extracts just the text between the two tags and returns the result.

For example, =MID(“apple”,2,3) returns “ppl”.

Excel formula: Remove leading and trailing spaces from text

LEN will also count characters in numbers, but number formatting is not included.

Excel formula: Split text and numbers

Excel MID function

Excel LEN function