+ Reply to Thread
Results 1 to 9 of 9

Alphanumeric Sequence

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    4

    Alphanumeric Sequence

    Hi All,

    Please kindly help me to create a formula for this alphanumeric sequence. I'm using excel 2010 and currently I'm doing it manually and takes a lot of time.

    Sequence:
    RTC00000, RTC00001, ... , RTC00009, RTC0000A, ... , RTC0000Y, RTC00010, ... , RTC0009Y, RTC000A0, ... , RTC000YY, RTC00100, ... , RTC00YYY

    Note: First 5 characters are fixed (RTC00)

    Thanks,

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Alphanumeric Sequence

    Please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-13-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Alphanumeric Sequence

    Hi Sixthsense,

    Please refer to attached xlsx file. I need to generate a running number with sequence as per attached sample. I want to make it auto by just dragging the cell to auto generate the running number. Currently I'm encoding it manually.


    Thanks,
    Don
    Attached Files Attached Files

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Alphanumeric Sequence

    I believe you should go for VBA approach since it's very hard to arrive it in using inbuilt worksheet functions...

    I hope someone will come up with a solution

  5. #5
    Registered User
    Join Date
    08-13-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Alphanumeric Sequence

    Thanks Sixthsense

    Hopefully someone can provide me a solution using worksheet functions

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Alphanumeric Sequence

    Just for the hell of it ...

    This uses formulae only.

    If you are in a masochistic mood you could expand the formula to eliminate the helper and the lookup table.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Alphanumeric Sequence

    I think the next number in the sequence after RTC0009Y should be RTC000A0 but I'm getting RTC00100 with your method, Marcol

    Try this assuming you want numbers to start in A2:

    define a named range called alpha and in "refers to" box put this:

    ={0;1;2;3;4;5;6;7;8;9;"A";"B";"C";"D";"E";"F";"G";"H";"J";"K";"L";"M";"N";"P";"R";"T";"U";"V";"W";"X";"Y"}

    then in A2 you can use this formula copied down

    ="RTC00"&INDEX(alpha,INT(ROWS(A$2:A2)/(31^2))+1)&INDEX(alpha,INT(MOD(ROWS(A$2:A2)/31,31))+1)&INDEX(alpha,MOD(ROWS(A$2:A2),31)+1)

    No helper cells required

    that should be good for 31^3-1 = 29790 rows
    Last edited by daddylonglegs; 08-14-2013 at 11:21 AM.
    Audere est facere

  8. #8
    Registered User
    Join Date
    08-13-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Alphanumeric Sequence

    daddylonglegs you are correct, after RTC0009Y should be RTC000A0. Your formula is working, awesome!

    Hi Marcol, I really appreciate your effort!

    Thanks guys!

  9. #9
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Alphanumeric Sequence

    Oops, my mistake ... totally misread the required sequence ...

+ 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. [SOLVED] Sequence Alphanumeric Text in cells?
    By cb4008 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-27-2013, 02:18 PM
  2. Replies: 0
    Last Post: 12-12-2012, 06:39 PM
  3. Generating a 4 part Alphanumeric Sequence
    By Label-makers in forum Excel General
    Replies: 20
    Last Post: 06-06-2012, 07:54 PM
  4. Alphanumeric sequence
    By El Zorro in forum Excel General
    Replies: 7
    Last Post: 04-29-2011, 09:57 PM
  5. Create an alphanumeric sequence
    By footsoreaxe in forum Excel General
    Replies: 11
    Last Post: 11-25-2009, 02:51 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