Help with generating sequence of numbers

riteon

New Member
Joined
Apr 30, 2010
Messages
24
I would like to use Excel to generate a sequence of numbers 5 digits in length from a set of letters in a column.

e.g.
a
b
c
d
e
f
g
h
j
k
m
n
p
q
r
s
t
u
v
w
x
y
z
1
2
3
4
5
6
7
8
9


So let's say we have columns A to E filled with the same data as above.

I would like the first number in column F (F1) be generated from the first row of each of the numbers.
Then the second number in column F (F2) to use the same first four numbers, then use the second one down in E.
This is to be continued until all numbers have been exhausted in column E, then the second one down in column D is used.

So I get

aaaaa
aaaab
aaaac
aaaad
aaaae

etc.
etc.
etc.

then the final number would be

99999

Is this possible in Excel?

Thanks

EDIT: Managed to find a tool here http:// sequence-generator .com that does the bizz.
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
And what would you do with these 60466176 rows of output?
 
Upvote 0
And what would you do with these 60466176 rows of output?

Hi glen, we actually only needed 1m of these for sequential numbers for unique identification of documents within a business. These are copied into a database and are searchable as a ref no.

Thx
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,544
Members
452,925
Latest member
duyvmex

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