One possible way using a formula and a lookup table, create the table
put this formula in a cell and copy down 256 rows
=LEFT(ADDRESS(1,ROW(1:1),4),IF(ROW(1:1)>26,2,1))
assume you put the formula in I1 going down to I256, in J1 put
1 and in J2 2, select both cells and double click on the lower right corner
of J2.
Now you can use A1 as the cell where to put the letter
=IF(A1="","",=VLOOKUP(A1,$I$1:$J$256,2,0))
you might even want something like this in case someone is using lower caps
=IF(A1="","",VLOOKUP(UPPER(A1),$I$1:$J$256,2,0))