+ Reply to Thread
Results 1 to 3 of 3

Auto increment characters in Excel, eg "AAAAA", "AAAAB", "AAAAC", etc

  1. #1
    Registered User
    Join Date
    01-18-2022
    Location
    Portland, Maine
    MS-Off Ver
    Excel for Microsoft 365 MSO - Version 2111
    Posts
    10

    Auto increment characters in Excel, eg "AAAAA", "AAAAB", "AAAAC", etc

    Hello all,

    First post to the forums, hoping its a paltry request.

    I need a formula to auto increment a set of letters starting with "AAAAA" and when copied moves to "AAAAB". I tried using the CHAR65 option, but it pulls in ASCII? codes. Looking to drop the formula in cell A1 and drag that to the bottom of Excel in the same column, incrementing as it goes, AAAAA, AAAAB, AAAAC, AAAAD, AAAAE, etc.

    Thank you in advance!

    Jason

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,904

    Re: Auto increment characters in Excel, eg "AAAAA", "AAAAB", "AAAAC", etc

    You could use something like:

    =TEXTJOIN("",FALSE,CHAR(65+MOD(INT((ROWS($A$1:$A1)-1)/(26^{4,3,2,1,0})),26)))
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    01-18-2022
    Location
    Portland, Maine
    MS-Off Ver
    Excel for Microsoft 365 MSO - Version 2111
    Posts
    10

    Re: Auto increment characters in Excel, eg "AAAAA", "AAAAB", "AAAAC", etc

    Thank you so much rorya, worked like a charm.

+ 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. Replies: 3
    Last Post: 11-19-2020, 08:30 PM
  2. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  3. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  4. [SOLVED] Excel 2010 -- "Visual Basic" "Macros" and "Record Macro" all disabled.
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2017, 06:11 AM
  5. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  6. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  7. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 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