• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Extract Middle Character

AAP

Member
Hi,
I am uploading an excel file. I would like to extract middle character but couldn't figure out how. In the file First column is input and Second column is output required. Can anyone help me by using formulas or vba.

Thanks

Kind Regards
AAP
 

Attachments

  • Extract Mid Character.xlsb
    23.8 KB · Views: 8
Hi ,

See the attached file ; all of them may not be correct.

Narayan
 

Attachments

  • Extract Mid Character.xlsb
    41.4 KB · Views: 13
  • Like
Reactions: AAP
Probably, you are looking Model Numbers.

To extract the last group before large number of spaces are occurring you can also use below construct.
=TRIM(RIGHT(SUBSTITUTE(TRIM(LEFT(A2,FIND(" ",A2&" ",1)))," ",REPT(" ",99)),99))

Edit: Forum board is eating extra spaces in the formula. Refer attached file.
 

Attachments

  • Copy of Extract Mid Character.xlsb
    44.9 KB · Views: 5
  • Like
Reactions: AAP
Back
Top