I think a User Defined Function is in order for this. Add this UDF into a standard module, like your Module3:
Now, on the Summary Log, put this formula in F10:
=COUNTDEPT(C10, "I12")
The first parameter is the cell to "match", in this instance the categories listed in column C.
The second parameter is cell address you want to lookin on all the other sheets. This is a string, so encase it in quotes as shown). We are looking cell I12 on the other sheets to see what the value is.
Now copy F10 down through F14 and your totals will appear.
Here's an edit to your AddCall macro, too:
If you tell me exactly what the NameTime is supposed to do verbally, we can probably trim that down a bit, too.
Bookmarks