Hi All,
I am confused of how to use the logic with the help of which tool.
Please consider the below sample data.

Condition:
If all the roll numbers are failed then in expected result i want a single subject name and in roll column ALL should come instead of mentioning every roll number.