Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I fill alphabetic series in excel

Hi I am not able to do alphabetic series in excel. etc A.......Z,AA,AB,AC

please help me out from this.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I fill alphabetic series in excel


This is a really quick fix. but maybe some help to you.

Sub Alphabet()
Dim j As Integer
Dim k As Integer
Dim i As Integer

k = 1
For k = 0 To 10
j = 65
For i = (1 + (25 * k)) To (1 + (25 * k)) + 25
If k = 0 Then
Worksheets("Sheet1").Range("A" & i).Value = "=char(" & j & ")"
j = j + 1
Else
Worksheets("Sheet1").Range("A" & i).Value = "=char(" & (k + 64) & ") &
char(" & j & ")"
j = j + 1
End If
Next i
Next k
End Sub

To change how many series you have decrease / increase the k loop
Example - For k = 0 To 11

note: this will only go to ZZ


--
Jimbo1
------------------------------------------------------------------------
Jimbo1's Profile: http://www.excelforum.com/member.php...o&userid=30637
View this thread: http://www.excelforum.com/showthread...hreadid=562395

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I fill alphabetic series in excel


Sorry! it should be.


Sub Alphabet()
Dim j As Integer
Dim k As Integer
Dim i As Integer

k = 1
For k = 0 To 10
j = 65
For i = (1 + (26 * k)) To (1 + (26 * k)) + 25
If k = 0 Then
Worksheets("Sheet1").Range("A" & i).Value = "=char(" & j & ")"
j = j + 1
Else
Worksheets("Sheet1").Range("A" & i).Value = "=char(" & (k + 64) & ") &
char(" & j & ")"
j = j + 1
End If
Next i
Next k
End Sub


--
Jimbo1
------------------------------------------------------------------------
Jimbo1's Profile: http://www.excelforum.com/member.php...o&userid=30637
View this thread: http://www.excelforum.com/showthread...hreadid=562395

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How can I fill alphabetic series in excel

Like down a column?

I'd use this formula
=SUBSTITUTE(ADDRESS(1,ROW(A1),4),"1","")
and copy down.

Then I'd convert it to values (edit|copy, edit|paste special|values)

Pawan arora wrote:

Hi I am not able to do alphabetic series in excel. etc A.......Z,AA,AB,AC

please help me out from this.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO USE FILL SERIES Wilsonzoo New Users to Excel 2 March 23rd 06 01:10 AM
Series equivalent in Excel 2000 Gert Charts and Charting in Excel 2 March 4th 06 12:34 PM
The fill feature in Excel that gives option to fill or copy KAHelman New Users to Excel 1 July 29th 05 07:47 PM
Excel should not automatically extend series or fill values whisperlm Excel Discussion (Misc queries) 0 July 13th 05 07:06 PM
Make an Excel series of first and third fridays of each month? Elliot Excel Discussion (Misc queries) 1 January 15th 05 09:32 PM


All times are GMT +1. The time now is 02:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"