Fast Enterprises Interview Question

Write pseudocode for a function that does "excel" column naming. (A...Z ->AA...)