Could anyone tell me how to write an excel function to convert base 10 to base 5? I.e., take the number in A1 and return the quintal version of it in the current cell. Excel has conversion functions built in for all the major bases (octal, hexadecimal, binary), but nothing for other bases as far as I can tell. I've found Java scripts that convert bases, but I don't know how to convert them to Excel equations.