+ Reply to Thread
Results 1 to 4 of 4

Add random character to a string

Hybrid View

  1. #1
    Registered User
    Join Date
    03-01-2007
    Posts
    2

    Add random character to a string

    Hey all-

    I'm doing a project for my boss and want to know if this would even be possible to do. The 1st colum has model numbers of products, the second column in blank (you'll see why in a second), and the 3rd column has product descriptions. We are selling products to other companies, and we cannot show them the original model number (that is in the 1st column). What we need to do is make up our "own" model number for the proucts, but one that has a system.

    For example

    T100A = real model number

    but we need to make a fake one, with a system such as T=A , 1=9, 0= 2, A= G ...so in this case the "new" model # would be A922G.
    (going by the orignal model # and the code i just did)

    Is there anyway to do this in excel automatically? I'm so confused! Thanks so much!

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Can you tell me is the real model number always 5 digits long?
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    03-01-2007
    Posts
    2
    no, i just cut it short for the purpose to make it simpler on the board...this is an example of a real model # T100A1028
    [always 9 long]

    thanks!!

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    OK, is the format always Alpha,Number,Number,Number,Alpha,Number,Number,Number,Number?

+ 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