Filtering the rows by rules

You can use

or

2 Likes