For a detailed example:
CATEGORIES of the ACTIVITY
Here is where my problem lies. How do I tell Notes to categorize "Categories of the ACTIVITY" only when categories exist?
There is a checkbox on the view styles panel of the view infobox that allows you to specify "don't show empty categories." This property should accomplish what you are looking for.
This was first published in July 2003