Dear Teri,
Assuming:
- Column A = Event ID
- Column B = State of Activity
- Column C = All Same
Use this in C2 and fill down:
=COUNTIF($A$2:$A$100,A2)=COUNTIFS($A$2:$A$100,A2,$B$2:$B$100,B2)
It compares how many rows share the Event ID against how many share both the Event ID and that row's State of Activity. If the two counts match, every record for that event has the same state.
Adjust the row range to cover your data, or convert the range to a table so it expands automatically.
If you prefer a version that ignores the count comparison, this also works and reads a little more directly:
=COUNTIFS($A:$A,A2,$B:$B,"<>"&B2)=0
I hope this helps. Let me know if you need anything else.
If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in the forum documentation to enable e-mail notifications if you want to receive the related email notification for this thread.