Here is the updated sample data. I want to pull up that matches the records if the Flag_ST is the same as Dep_ST and Dep_ST should be the same like Arr_ST on the same Date, Days, and Last (Sequence in Days) columns.
I highlighted some records for reference for better clarity
User | Count |
---|---|
108 | |
89 | |
78 | |
54 | |
40 |