Hi community
I want to achieve a condition grouping. Please find a sample input and output snip attached below-
So, I want the output for each course as "Done" if there are 3 or more done statutes under that particular course else null.
Statues are for unit under each course.
Input-

Output-

Thanks in Advance!