Question : Excel Sequence

I am looking to create an alphanumeric sequence in Excel for a column that would populate values from A010101 through Z201208. The last digit needs to be from 01-08, the middle digit 01-12, the first digit 01-20 and for letters A-Z

Answer : Excel Sequence

One way with a formula....

=CHAR(INT((ROWS(A$1:A1)+1919)/1920)+64)&TEXT(MOD(INT((ROWS(A$1:A1)+95)/96)-1,20)+1,"00")&TEXT(MOD(INT((ROWS(A$1:A1)+7)/8)-1,12)+1,"00")&TEXT(MOD(ROWS(A$1:A1)-1,8)+1,"00")

type the range in the box above A1, i.e.A1:A49920 then press ENTER to select that range and CTRL+D to fill that whole range (it may take a few minutes)

After that's done you can copy the whole range and use Edit > Paste Special > values to convert to values

regards, barry

Random Solutions  
 
programming4us programming4us