How to numbering the cells with alphabetical letters in Excel?
In Excel, we can numbering the cells with number series such as 1, 2, 3… by using the autofill handle , but how can you numbering cells with alphabetical letters A, B, C…? In this tutorial, I introduce some ways to handle this job in Excel.
Numbering cells with alphabetical letter with formula
Numbering cells with alphabetical letter with VBA code
Numbering cells with with Kutools for Excel
Numbering cells with alphabetical letter with formula
1. Type all letters you want to use to numbering cell in a list next to the cells you want to numbering.
2. Select a cell which is adjacent to the letters and cell contents you want to numbering, type this formula =A1&"."&B1, drag fill handle down to fill the formula to all cells you need.
Numbering cells with alphabetical letter with VBA code
If you are familiar with macro codes, you can do as these:
1. Press Alt + F11 keys to enable Microsoft Visual Basic for Applications window. Click Insert > Module.
2. Copy and paste below code to the Module script.
VBA: numbering with A
Sub Prefix_A()
'UpdatebyExtendoffice20180828
Dim xRg As Range
Dim xStrPrefix As String
xStrPrefix = "A."
On Error Resume Next
Application.ScreenUpdating = False
For Each xRg In Selection
If xRg.Value <> "" Then
xRg.Value = xStrPrefix & xRg.Value
End If
Next
Application.ScreenUpdating = True
End Sub
3. Then repeat paste the code and change A to B or C or D as you need.
4. Save the code and close the Microsoft Visual Basic for Applications window.
5. Select the cells you want to numbering with A, and click Developer > Macros.
6. In Macro dialog, select the code Prefix_A and click Run.
7. Selection have been numbered with A.
8. Repeat step 5 and 6 to numbering the cells with specific letter as you need.
Numbering cells with Kutools for Excel
If you have Kutools for Excel, you can quickly numbering cells.
After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)
Select the cells you want to numbering, then click Kutools > Insert > Insert Numbering, select one type you need.
Then the cells have been added numbering.
Best Office Productivity Tools
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...
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!