Advertisements

Excel MID Function

The excel MID Function is used to return a specific number of characters from a text string, starting at the position users specify, based on the number of characters they specify. For example, =MID(“amazon”, 2,2) returns “ma”.

In this section:

Advertisements

  1. Syntax of MID Function
  2. Extract First Name from Full Name
  3. Extract last name from full name
  4. Extract text from bracket using MID function
  5. Extract middle names from full names separated by commas
  6. Extract middle names from list of names separated by spaces

Excel MID Function

1. Syntax of MID Function:

Excel MID Function

Notes:

2. Extract First Name from Full Name:

To extract the first name from full name, the formula is =MID(C6, 1, SEARCH(” “, C6, 1)), which returns the first name.

Excel MID Function to extract first name from full name.

3. Extract last name from full name:

To extract the last name from full name, the formula is =MID(C6, FIND(” “, C6), 100), which returns the last names from the full names.

Excel MID Function to extract last names

4. Extract text from bracket using MID function:

To extract text from bracket, the formula is =MID(C6, FIND(“(“, C6)+1, FIND(“)”, C6)-FIND(“(“, C6)-1)+0, which returns the number within brackets ( ).

Excel MID Function to extract text between parentheses.

5. Extract middle names from full names separated by commas using MID Function:

To extract the middle names from full names, the formula is =MID(C6,FIND(“,”,C6)+1,FIND(“,”,C6,FIND(“,”,C6)+1)-1-FIND(“,”, C6)), which returns the middle names from the full names.

Advertisements
Excel MID Function to extract middle name and middle initials form full names.

6. Extract middle names from list of names separated by spaces:

To extract the middle Names, the formula is =MID(C6,FIND(” “,C6)+1,FIND(” “,C6,FIND(” “,C6)+1)-1-FIND(” “, C6)), which returns the middle names.

Excel MID Function to extract middle name and middle initials form full names.

More related readings:

  1. MS Office Post on MID Function
  2. Excel LEN Function
  3. Excel IFS Function with practical examples
  4. How to extract first names from list of names
  5. Excel FIND Function
  6. Excel FIXED Function
  7. Excel ARRAYTOTEXT Function
  8. Excel CLEAN Function with practical examples
  9. Excel CONCAT Function to join text
  10. Excel REPLACE Function to replace text
  11. Excel TRIM Function with Practical Examples

One Response

  1. You can definitely see your expertise within the work you write. The world hopes for more passionate writers such as you who aren’t afraid to mention how they believe. All the time go after your heart.

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements