openpyxl empty cell code example
Example: how to check if a cell is empty in openpyxl
# This checks if the cell has a value, or if it isn't empty then runs your code
if cell.value:
continue
# OR
if not cell.value == None:
continue
# This checks if the cell has a value, or if it isn't empty then runs your code
if cell.value:
continue
# OR
if not cell.value == None:
continue