I've googled all the combinations I can, but haven't found an answer to this one, nor can I find it in any "related" StackOverflow Q&A's. In this sequence:
aaa = 1
aab = 2
aac = 3
aad = 4
aae = 5
...
what is the easiest way to convert any other string in the sequence (up to max "zzz") to a number, say "aem", or "svg" as random examples? Is there a spreadsheet formula to do this? (I'm a rudimentary user of LibreOffice Calc, FWIW.)
This must be simple for numerate people. :) Unfortunately, I'm somewhat literate, but not at all numerate! Any help with this appreciated!
a
as 0 and with 1 added to every number after converting it from base 26 to the target. Each letter is a digit.a=0
throughz=25
. From right to left, multiply the first digit by 1, the next by 26, the next by 26*26, etc. and add them up. I don't speak spreadsheet (aren't we supposed to be programmers here?) – Wumpus Q. Wumbley 13 mins ago