Search code examples
excelbatch-fileexcel-formulaalphanumeric

Create a series of values made up of numbers and letters, with a batch file, or with an excel sheet


ok, This is the problem: I need to create thousands of "numbers" made of numbers and letters, so that when I get to "9" the number continues with "a, b, c, ..." so i need something like this in output:

0001  0011
0002  0012
0003  0013
0004  0014
0005  0015
0006  0016
0007  0017
0008  0018
0009  0019
000a  001a
000b  001b
000c  001c
0010  etc...

do you have some idea to creare this with a batch file (output .txt) or with excel?


Solution

  • In Excel use BASE():

    =BASE(ROW($ZZ1),13,4)
    

    Put that in the first cell and copy down.

    enter image description here