+ Reply to Thread
Results 1 to 6 of 6

Take 3 digits from Text and turn into numberical value

  1. #1
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Canada
    MS-Off Ver
    Excel 2013
    Posts
    209

    Take 3 digits from Text and turn into numberical value

    I have a catalog that lists a series of names for product.

    I would like to create a numerical formula that can give the text name a number using the first 3 letters.

    If A=01, B=02...Z=26 (lower case would be same)

    Example, ALVIANO Series would be 011222 using the letters ALV to get the number code. I'm only interested in the first 3 letters.

    Please and thank you,

  2. #2
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Take 3 digits from Text and turn into numberical value

    Hi unclejemima

    Try using the VLOOKUP, see the attach sheet.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  3. #3
    Forum Contributor
    Join Date
    03-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    154

    Re: Take 3 digits from Text and turn into numberical value

    Hi,

    Just realized Kevin posted a solution. He's another variation with no lookup table...A1 is the name in all capital characters....

    Please Login or Register  to view this content.
    Let me know if this is what you were after.

    thanks.
    Last edited by Jarko28; 05-06-2013 at 06:39 PM.

  4. #4
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Take 3 digits from Text and turn into numberical value

    try it
    =TEXT(COLUMN(INDIRECT(MID(LEFT(A1,3),1,1)&1)),"00")&TEXT(COLUMN(INDIRECT(MID(LEFT(A1,3),2,1)&1)),"00")&TEXT(COLUMN(INDIRECT(MID(LEFT(A1,3),3,1)&1)),"00")

  5. #5
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Canada
    MS-Off Ver
    Excel 2013
    Posts
    209

    Re: Take 3 digits from Text and turn into numberical value

    Epic. You guys rock. Thank you all! Another solved thread

  6. #6
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Take 3 digits from Text and turn into numberical value

    Hi unclejemima

    No problem & thanks for the feed back. Another version, assuming your data is in A1.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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