current code
I am trying append a list every time an observation fits two criteria in my Excel file. Here the output should be 5752 but how should I formulate the lin