Extract First Name From A Cell In Excel











I have to extract first name from a cell in excel.

हमें एक्सेल में एक cell से first नाम निकलना है.



Here we have only one logic that from start to end, what is the position of first space in cell, we have deduct 1 in that position, then from left side we will pick number character with help of left function to extract first name.


यहाँ हमें हमारे पास यह logic है की, start से first space का position क्या है, हमें उस position में से १ घटाकर, बाएं तरफ से उतना character उठाना है left function के मदद से, first नाम निकलने के लिए.

Space in first name at 4th position, then 4-1=3, then pick 3 character from left side with help of left function.

=LEFT(A4,FIND(” “,A4)-1)

पहले नाम में first space 4th पोजीशन पर है, तो 4-1=3, तो left function की मदद से left side से ३ character निकाल लो.

Click Here to Download File

We can do it with the help of mid function also.

हम इसे MID FUNCTION से भी कर सकते हैं.


The position of first space in cell is 4, then 4-1=3, then we will pick 3 character from 1st character with help of mid function to extract first name.


=MID(A10,1,FIND(” “,A10)-1)

Space यहाँ cell में 4th position पर है तो ४-१=३, तो हम first position से 3 character निकालेंगे mid function की मदद से.

Click Here To Download Excel File


What does mid function in excel.


With the help of mid function in excel, we can extract a specified number of characters  from a text. We have to decide from starting position of text from left side and number of character to be extracted. If characters to be picked exceeds then it will return what is available characters.


एक्सेल में MID function की मदद से हम किसी टेक्स्ट से specified number of characters निकालते है. हमें यह decide करना पड़ता है की left side से किस position से कितना character निकलना है. अगर हम ज्यादा नंबर लिखते हैं तो यह उपलब्ध करैक्टर return करेगा.



Click Here to Watch Video




  • Rajeev

    If lot of space between first name and last how will work

    • admin

      =MID(TRIM(A1),1,FIND(” “,TRIM(A1))-1)
      =LEFT(TRIM(A1),FIND(” “,TRIM(A1))-1)

      For this case use trim to remove leading & trailing space and convert multiple space in single space

  • Hmm, really nice Explain Bro


Leave a Reply

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