+ Reply to Thread
Results 1 to 5 of 5

How to locate one number in a string of 17?

  1. #1
    Registered User
    Join Date
    11-30-2009
    Location
    FORT MYERS, FLORIDA
    MS-Off Ver
    Excel 2000
    Posts
    2

    Question How to locate one number in a string of 17?

    Good morning all, I hope someone can help me. I am sure that there is a simple formula for this, but i'll be damned if I know it. I have an Excel Spreadsheet with Vehicle VIN #'s in the cells (EG. KGCMH64U90F905165 in cell A1) and I want to be able to have cell B2 pull only the 10th digit in that # (EG. B1=0) or the 5th digit in the # (EG. B1=H). Does anyone know how I can accomplish this?
    Last edited by NBVC; 11-30-2009 at 01:50 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: How to locate one number in a string of 17?

    Check out the MID formula

    =MID(A1,5,1)
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How to locate one number in a string of 17?

    =Mid(A1,10,1) will pull tenth... =Mid(A1,5,1) will pull 5th and so on...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to locate one number in a string of 17?

    Hi,

    Please Login or Register  to view this content.
    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    11-30-2009
    Location
    FORT MYERS, FLORIDA
    MS-Off Ver
    Excel 2000
    Posts
    2

    Re: How to locate one number in a string of 17?

    Thanks you all!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1