How do I edit the function to below to not count if in cell M16 the value is "solved"
Thank you for your help.

=COUNTIFS(A16:A9000,C2,N16:N9000,"<=0")