Collapse repeating group rows if not enough data

Here is a solution…