for row in ws.iter_rows(min_col=adres[0], min_row=adres[1], max_col=adres[2], max_row=adres[3]): if row[0].value is not None: data_rows.append([cell.value for cell in row]) else: continue