I have to work on an Excel sheet with python so I can later put it in a database.
My problem is, that I have quite a lot of rows/cells with striketrough. I want to read the excel normally and flag every row with one or more striketrough cells. I just found a solution for skipping these rows but I want to flag it.
I did find a way to print the strikethrough rows using openpyxl but I wanted to use pandas because I have to add and cut a lot of columns later on and pandas is best for that.
It's hard to imagine how looks like your spreadsheet but here is an example to give you the general logic. Basically, we use
Font.strikethroughfrom openpyxl to check if a the font of a cell is striked or not.Output :
Input used :