There’s an option at the bottom of the Summary choices for List. I have never tried it until yesterday.
It creates a list from a selection of records or from all records, depending upon how it is used. In other words it can create a list of a selection of records rather than the entire file.
With a little calculation magic you could create a field that would list all of the records the contents of a field are blue, green, red, etc.
Calulated field A: if field x = blue, field A else “”
Calculated field B: if field x = red, field A else “”
Summary field A: summary list field A
Summary field B: summary list field B