I can iterate through cells in rows to check for cells containing a certain value. Now I'm trying to check if the row also contains second value.
target = input("Input cell value: ")
target2 = input("Input second cell value ")
wb = openpyxl.load_workbook("file.xlsx")
ws = wb.active
for ws in wb.worksheets:
for row in ws.iter_rows():
for cell in row:
if cell.value == target:
# I'd also like to check if row contains second target
print(cell.value)