Page 16 - Computing E-Book Grade 6
P. 16
The City School 2021-2022
MID
MID returns a specific number of characters from a text string, starting at the position
you specify, based on the number of characters you specify.
=MID (text, start_num, num_chars)
• text: the text to extract from.
• start_num: the location of the first character to extract.
• num_chars: the number of characters to extract.
1. In this example, we will extract the word “Pakistan“ from the string “I live in Pakistan“
by using MID function. To do so, type in the string in the excel sheet.
2. Go to Formulas tab from office ribbon, in the Function Library group, click Text, and
then click MID.
3. Specify the fields in the dialog box that appears and press enter to get the result. It
is important to note that space is also counted as a character.
16

