Yes, as I said the example was based on your initial setup - there was no detailing as to how "flexible" it need be... if you moved the criteria to be a Report Filter (old PAGE Field) then unless said filter was set to be singular selection (ie one of your 3 choices) it would be impossible to differentiate between the 3 groups given resulting values.... ie if set to All or Multi-Selection you would have no means by which to determine which field a value related to - be it Fruit, Misc, Vegetable and thus no means by which to apply the interior colour index... this would hold true for standard Conditional Formatting rules also (ie not just to the VBA routine).
I would change the code I provided previously ever so slightly such that you could move the Row Label position of the "Product Family" field without impacting the resulting formatting... eg:
Bookmarks