This is the code for providing the COLUMN name when the row and col ID is provided but when I give values like row = 1 and col = 104, it should return CZ<
def xlscol(colnum):
a = []
while colnum:
colnum, remainder = divmod(colnum - 1, 26)
a.append(remainder)
a.reverse()
return ''.join([chr(n + ord('A')) for n in a])