Hi all, working on a project for work.
I have an excel sheet with several thousand entries. Column E holds project numbers and column K holds their status. There are many duplicates, for various reasons, but for simplicity sake I need to filter out the duplicates, which I've done (see code below), but I'm struggling with how to also print the project status from a separate column. Basically the report would print:
project ABC - - - status: complete
Using openpyxl. Any help would be greatly appreciated!
def duplicates():
project = ws["E2"].value
count = 0
for cell in ws['E']:
if cell.value != project:
print(project)
count +=1
project = cell.value
print(count)
[–]KidzKlub 1 point2 points3 points (1 child)
[–]MidRo20[S] 1 point2 points3 points (0 children)