Search

Learn How to use Mid Excel formula.

MID

Know all about Mid Excel formula

 

What Does It Do ?
This function picks out a piece of text from the middle of a text entry.
The function needs to know at what point it should start, and how many characters to pick.
If the number of characters to pick exceeds what is available, only the available characters
will be picked.

Syntax=MID(OriginalText,PositionToStartPicking,NumberOfCharactersToPick)

Formatting
No special formatting is needed.

Example 1
The following table uses the =MID() function to extract a post code from a branch ID used
by a company.
It is assumed that all branch ID’s follow the same format with the letters identifying the
postal region being in the 5th and 6th positions.

Mid Excel Formula Example 1
Example 2
This example shows how to extract an item which is of variable length, which is inside
a piece of text which has no standard format, other than the required text is always
between two slash / symbols.

Mid Excel Formula Example 2

=MID(C50,FIND(“/”,C50)+1,FIND(“/”,C50,FIND(“/”,C50)+1)-FIND(“/”,C50)-1)
Find the first /, plus 1 for the Start of the code.
Find the second /, occurring after the first /
Calculate the length of the text to extract, by subtracting the position
of the first / from the position of the second /

Share this article :
Facebook
Twitter
LinkedIn

Leave a Reply

CALLENDER
September 2024
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
FOLLOW & SUBSCRIBE