+ Reply to Thread
Results 1 to 3 of 3

Assign a unique random alphanumeric value to a column of random alphanumeric values

  1. #1
    Registered User
    Join Date
    11-06-2014
    Location
    peru
    MS-Off Ver
    2010
    Posts
    2

    Question Assign a unique random alphanumeric value to a column of random alphanumeric values

    Hello, First timer here.

    I searched for an answer and came up with different parts of a solution but i just can't string it together.
    There is a column of data with random alphanumeric values (that may repeat) which need to be transformed into a different set of unique values in a different column:

    b4527dcb636f
    b8b42e7703cd
    b4527de48f23
    b4527dcb636f

    So far I found the functions RANDBETWEEN + CHAR(RANDBETWEEN(65,90)) + CONCATENATE() which can help me create a new value. The new value parameters are irrelevant but i would like it to have 3 letters and at least 3 numbers.
    Still, what i can't figure out is how to assign the same value (in column B) to a repeating one (A).

    Sorry for the crappy English, it's not my native tongue.
    Any help is appreciated!

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Assign a unique random alphanumeric value to a column of random alphanumeric values

    Your english is fine but Im not understanding your request, what exactly do you mean by "assign the same value (in column B) to a repeating one (A)." if you can provide some examples that would be appreciated.

  3. #3
    Registered User
    Join Date
    11-06-2014
    Location
    peru
    MS-Off Ver
    2010
    Posts
    2

    Re: Assign a unique random alphanumeric value to a column of random alphanumeric values

    The values in the database may repeat themselves so:

    A B
    b4527dcb636f abc123
    b8b42e7703cd odb487
    b4527dcb636f abc123

    The formula must give the same value to an already adressed unique value.

    Am i explaining myself ?

    thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to generate unique random alphanumeric 32 character codes?
    By JussiR in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-21-2014, 06:30 AM
  2. Random alphanumeric generator
    By ukphoenix in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-17-2013, 04:21 PM
  3. Replies: 1
    Last Post: 01-22-2013, 07:02 AM
  4. Replies: 0
    Last Post: 04-20-2012, 06:55 AM
  5. Replies: 4
    Last Post: 05-15-2010, 06:57 PM

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