Aug 15 2019 11:37 PM
Aug 16 2019 12:49 AM
Your workbook is not macro-enabled and you didn't add the function to your VBA environment.
However, you may use your rules logic in formulas to count the cells, like
=SUMPRODUCT(--($H$4:$H$182<$G$4:$G$182))
Aug 16 2019 01:31 AM - edited Aug 16 2019 01:33 AM
Hi,
your file did not have the UDF, as also pointed by Sergei.
In attached file, I placed the UDF and now it counts.