Alphabetic Series...

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Re: Alpabetic Series...

I wasn't able to download your spreadsheet from that other forum because I am not a member there. It does seem that you want to start with a letter then increment.
If the starting letter is different each time, then how many letters do you want to go down, until it reaches z or a certain number or what?

For this example, I am going to start in e11 and increment until it gets to z or Z if the starting letter was capital.
Code:
Sub test()
Dim x As Long, y As Long, startloop As Long, r As Long
startloop = Asc(Range("E11"))
If startloop > 90 Then y = 122 Else y = 90
r = 11
For x = startloop To y
    Cells(r, "E") = Chr(x)
    r = r + 1
Next
End Sub
 
Upvote 0
Re: Alpabetic Series...

As a formula, your formula is correct, but you do need to start with a letter in E11:


Excel 2010
E
11J
12K
13L
14M
Sheet1
Cell Formulas
RangeFormula
E12=CHAR(CODE(E11)+1)
E13=CHAR(CODE(E12)+1)
E14=CHAR(CODE(E13)+1)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top