I am completely new to openpyxl so, as you can imagine, I am having pretyy hard times when I try to make use of it.
I have an excel report that contains only one sheet
from openpyxl import load_workbook wb = load_workbook("report.xlsx") ws = wb.active for row in ws.rows: if row[4].value == "ABC": for cell in row: print(cell.value, end=" ") print()