- aggregate requires sheet named "All". When udf is run, it copies all contents of all other sheets onto "All".
- countcategory is an efficent dictionary object COUNTIFS that allows one to set specific criteria for counting.
- countdistinct is the above without specific criteria parameter.