Skip to main content

How to automatically increase letter by one to get the next letter in Excel?

Author: Siluvia Last Modified: 2020-04-28

Supposing you have a cell contains letter AB, you need to increase the last letter by one to get the next letter AC, AD…and so on. Or you have a letter A, and want to increase the letter to B, C…in order to create a letter list. How to achieve it? This article can help you in details.

Increase letter AB by one to get AC, AD…with formula
Increase letter by one to get the letter list with formula
Increase letter by one to get the letter list with User-defined function


Increase letter AB by one to get AC, AD…with formula

Please do as follows to increase letter by one in Excel.

1. Select a blank cell below the given letter, enter the below formula into it and then press the Enter key. 

=IF(RIGHT($A2,1)="Z", CHAR(CODE(LEFT(A2,1))+1),LEFT(A2,1))&CHAR(65+MOD(CODE(RIGHT(A2,1))+1-65,26))

Note: In the formula, A2 is the cell contains the given letter.

2. Keep selecting A3, drag the Fill Handle down to get the list of letters you need.


Increase letter A by one to get the letter list with formula

You can use the =CHAR(CODE(A1)+1) formula to increase letter by one in Excel. Please do as follows.

1. Select a blank cell below the given letter, enter formula =CHAR(CODE(A2)+1) into the Formula Bar and then press the Enter key. See screenshot:

2. Select the result cell, drag the Fill Handle down to get the letter you need.

Note: With this formula, after getting the letter Z, if you keep dragging the Fill Handle down, you will get some special characters as below screenshot shown. If you want to get letter AA after Z, the following user-defined function can help you.


Increase letter by one to get the letter list with User-defined function

The following user-defined function can also help you to increase letter by one in Excel.

1. Press Alt + F11 keys simultaneously to open the Microsoft Visual Basic for Applications window.

2. In the Microsoft Visual Basic for Applications window, click Insert > Module. Then copy and paste the below VBA code into the Module window.

VBA code: Increase letter by one to get the letter list

Function ColLtrs(i As Long) As String
    ColLtrs = Replace(Cells(1, i).Address(False, False), "1", "")
End Function

3. Press Alt + Q keys to close the Microsoft Visual Basic for Applications window.

4. Select a blank cell below the given letter, enter formula =ColLtrs(ROW()), and then press the Enter key to get the second letter.

2. Select the result cell, drag the Fill Handle down to get the letter you need.

Note: With this method, letters you increased are based on the row number. You need to start the first letter A in the first row of the worksheet, otherwise, the letter will getting disordered.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (21)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
is there any formula to increase or write ascending order like 1nc1, 1nc2, 1nc3.....
This comment was minimized by the moderator on the site
Hi,

To create an incrementing sequence like "1nc1", "1nc2", "1nc3", etc., in Excel, you can use a formula that leverages the row number to generate the numeric part of the sequence.

Assuming you want to start this sequence in cell A1, you would enter the following formula in A1:
="1nc" & ROW(A1)
Then, drag this formula down to the desired number of rows. Each cell will generate a part of the sequence based on its row number. For example, cell A2 will display “1nc2”, A3 will display “1nc3”, and so on.

The logic behind this formula is:
ROW(A1) returns the row number of cell A1, which is 1.
"1nc" & ROW(A1) concatenates the string “1nc” with the row number, creating “1nc1”.
This comment was minimized by the moderator on the site
I need a code to help make my rows from 1-A to 1-Z please
This comment was minimized by the moderator on the site
Hi Mayra Lopez,
The VBA code provided in the post is still helpful, but you need to apply the following formula to get the results you need:
="1-"&ColLtrs(ROW())
This comment was minimized by the moderator on the site
How would I create a formula that advances like this?:

AAAAAAAAA
AAAAAAAAB
AAAAAAAAC
AAAAAAAAD
etc.
This comment was minimized by the moderator on the site
Hi Willie B,
You can try the VBA code provided in the post. After adding the code, use this formula to get the result you need:
="AAAAAAAA"&ColLtrs(ROW())
This comment was minimized by the moderator on the site
I need a code for increasing my row cell values from AA-01-A01, AA-01-A02 to AA-01-B01, AA-01-B02. And I also need a code for my colomn cell values from AA-01-A01, AA-01-A02 to AA-03-A01, A-03-A02. Help.
This comment was minimized by the moderator on the site
I need a code from A-Z, AA-ZZ, AAA to ZZZ, AAAA to ZZZZ
This comment was minimized by the moderator on the site
Hi,Sorry can't help with this problem. You can post the problem to the forum below to get help from other Excel enthusiasts.
https://www.extendoffice.com/forum/kutools-for-excel.html 
There are no comments posted here yet
Load More
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations