Good, I have the following list:
milista = [' 5093', ' 5243', ' 5390', ' 5753', ' 5818', ' 5961', ' 5966', ' 6016', ' 6256']
How can I know if my column.value == any element of a milist:
import openpyxl
doc = openpyxl.load_workbook("archivo.xlsx")
hoja = doc['Hoja1']
for fila in hoja.rows:
for columna in fila:
if columna.value == ALGUN ELEMENTO DENTRO DE LA LISTA "milista":
print(columna.value)