HOW TO VALIDATE IF ATTENDEES IN A MEETING ARE ALL FROM THE SAME STATE

TERI RICE 0 Reputation points
2025-12-02T19:55:55.69+00:00

Any assistance will be greatly appreciated. Spent hours trying to figure this out. Maybe I am not using the correct function or something. Please HELP.

I need a formula to validate if everyone in a meeting (Col A) has the same state (Col D). If they all do, it should equal TRUE (Rows 2-5). If ALL do not, it should equal FALSE (Rows 6-9)

User's image

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Hendrix-C 8,165 Reputation points Microsoft External Staff Moderator
    2025-12-02T20:25:06.8133333+00:00

    Hi @TERI RICE,

    Thank you for posting your question in the Microsoft Q&A.

    According to your concern, you can try using this formula in cell E2 and then copy paste it into the other cells:

    =IF(COUNTIF($A$2:$A$9,A2)=COUNTIFS($A$2:$A$9,A2,$D$2:$D$9,D2),TRUE,FALSE)
    

    In case you have a long data range, you can use this formula which will help you calculate the results in the whole data array all at once:

    =MAP(A2:A9, D2:D9, LAMBDA(mtg,st, COUNTIFS(A2:A9, mtg, D2:D9, "<>"&st)=0))
    

    User's image

    Note: these formulas are using the data range in my testing worksheet. Therefore, you will need to change the data range with your current worksheet to ensure the formulas work properly.

    I hope the information provided proves useful. Please proceed with the outlined steps and let me know whether they resolve the issue. If not, I’ll be glad to continue working with you to find a solution.    

    Thank you for your patience and understanding throughout this process. Should you have any questions or need further assistance, feel free to reach out in the comments of this post. I'd be happy to assist you.    

    Looking forward to your response.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".          

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread


  2. Ashish Mathur 100.8K Reputation points Volunteer Moderator
    2025-12-02T23:13:47.35+00:00

    Hi,

    In cell E2, enter this formula

    =BYROW(A2:A9,LAMBDA(r,COUNTA(UNIQUE(FILTER($D$2:$D$9,$A$2:$A$9=r)))))=1

    Hope this helps.

    User's image

    0 comments No comments

  3. Dana D 0 Reputation points
    2025-12-04T00:14:54.0433333+00:00

    < deleted > I would do a summary output instead of True/False down 1000's of rows.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.