+ Reply to Thread
Results 1 to 13 of 13

Increment Letters

  1. #1
    Registered User
    Join Date
    08-27-2012
    Location
    Dumfries VA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Increment Letters

    Hello,
    I am trying to figure out how to increment letters in my workbook.
    I need to do the following
    200, 200A, 200B, etc thru the letter Z, then after the number reaches 200Z, it will increment to 201, 201A, 201B, etc thru Z, and then repeat. I need the numbr to go vertically, not horizontally. I have tried to build custom lists, etc, and cant get it to work. Any ideas?

    I dont necessarily need it to increment the numbers, but if I could get it to increment the A-Z that would be ideal.

    Thanks
    Last edited by nov0798; 10-10-2013 at 06:38 PM.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Increment Letters

    something like this
    Attached Files Attached Files
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Increment Letters

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Increment Letters

    See the attached file.

    Dutch A2
    Please Login or Register  to view this content.
    Dutch B2
    Please Login or Register  to view this content.
    Dutch C2
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Increment Letters

    oeldere, just out of curiosity, would you mind translating that into english please?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Increment Letters

    @FDibbins

    In that case you need to open the attachment.

    Then you will see the english formula.

    That's why I (always) try to post an attachment.

    (i have a dutch version, so my formula are in dutch).

    I post the dutch formula, so i can see what I answered (it is easier to respond, if i see it in the answer).

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Increment Letters

    OK I didnt open the file, was just looking for a quick translation, no problem

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Increment Letters

    @FDibbins

    No problem.

    Glad to answer your question.

  9. #9
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Valrico, FL USA
    MS-Off Ver
    Excel 2016
    Posts
    358

    Re: Increment Letters

    Try pasting the following formula in cell A2 then copy down.

    =200+COUNTIF($A$1:A1,"*Z")&RIGHT(SUBSTITUTE(ADDRESS(1,ROWS($1:1),4),"1",""),1)

  10. #10
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Increment Letters

    Try this (don't know it will run on Excel 2003 or not):

    Increment Letters nov0798.xls
    Please Login or Register  to view this content.
    Last edited by SDCh; 10-10-2013 at 11:59 PM.
    Click (*) if you received helpful response.

    Regards,
    David

  11. #11
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Increment Letters

    welcome to the forum, nov0798. try:
    =200+INT((ROW(1:1)-1)/27)&IF(MOD((ROW(1:1)-1),27),CHAR(MOD((ROW(1:1)-1),27)+64),"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  12. #12
    Registered User
    Join Date
    08-27-2012
    Location
    Dumfries VA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Increment Letters

    Great. Thanks to all the replies! I REALLY do appreciate it.

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

    Re: Increment Letters

    if A1 = 200
    write this formula at A2
    =IF(ISNUMBER(A1),A1&"A",IF(RIGHT(A1)="Z",LEFT(A1,LEN(A1)-1)+1,SUBSTITUTE(A1,RIGHT(A1),CHAR(CODE(RIGHT(A1))+1))))

    and drug (copy) down see the result
    Attached Files Attached Files

+ 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] Quick problem - string mix of letters & numbers - increment by one
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 06-25-2013, 02:15 PM
  2. Replies: 5
    Last Post: 12-30-2012, 10:59 AM
  3. Keep row the same, increment columns letters
    By evilgrinners in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-09-2012, 12:43 PM
  4. Increment with letters in front
    By janschepens in forum Excel General
    Replies: 5
    Last Post: 08-28-2011, 09:54 AM
  5. Increment/Increment letter in alphabetical order
    By Neil Goldwasser in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-25-2006, 05:10 AM

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