I would like to create a column with a custom sequence: A-Z,a-z,0-9
. (Essentially the Base64 character set with the last two characters, +
and /
, left out) So, A1 would be AAA, A2 would be AAB … continuing to AAZ, AAa, …, AA8, AA9, ABA, ABB etc.
Note that AAA would be numerically the same as A (both equal 0), but I need to keep the same number of digits across the whole sequence.
Doing this with only numbers is simple: =A1+1
and copy it all the way down the column.
Is there a simple and efficient way to do this either in sheets (maybe use an array formula?) or using a function? I will need to go at least to 40000 iterations (40000=KZK, if I did the calculation correctly).
Eventually, it will look something like this:
article_AAA
article_AAB
article_AAC
…
article_KZI
article_KZJ
article_KZK
I'm not much of a mathematician, but I suspect this site could help:
https://www.dcode.fr/base-n-convert
Best Answer