I was looking for a way to read a single column from an xlsx using openpyxl and found something on this page (first answer): openpyxl - read only one column from excel file in python?
But there's one problem with this code: You cannot enter columns right to 'Z', as the program thinks that (e.g. instead of column 'AD') the two columns 'A' and 'D' are meant. Does anybody have an idea on how to fix this issue? I appreciate every answer (:
for row in range(4,sheet.max_row+1):
for column in 'E':
cell_name = '{}{}'.format(column, row)
val = sheet[cell_name].value