Excel Countif with spilled array,

Anonymous
2024-06-04T18:37:13+00:00

Hi
Bit puzzled,

countif with a spilled array, take below;

so I can get the result I want with helper;

but if I try and put it all in one I get an value error?

I have solved this by not using filter, but text join ( text split, and then re -splitting to get

so this I what I was trying for but using countif and filter

am I missing something obvious?

Richard.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Ashish Mathur 101K Reputation points Volunteer Moderator
    2024-06-04T23:23:21+00:00

    Hi,

    This simple formula in cell J4 works

    =UNIQUE(FILTER(G4:G14,ISERROR(XMATCH(G4:G14,I4:I6))))

    The next time you post a question, paste data in a format that can be pasted in an MS Excel file. Do not just post a screenshot.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-06-05T12:16:05+00:00

    Thanks, I've changed a bit,

    =LET(alist,D5:D12,n,F5:F17,it,G5:G17,fil,FILTER(it,n = H5), XMATCH(alist,fil,0))

    then isna to get a true false,

    Thanks for the help,

    RD

    0 comments No comments
  2. Ashish Mathur 101K Reputation points Volunteer Moderator
    2024-06-05T12:23:01+00:00

    You are welcome.

    0 comments No comments