Slicer issue in combination with Dynamic array

Henrik Vestergaard 25 Reputation points
2023-07-23T06:28:19.0666667+00:00

Hi

Why does the slicer filter "Brian" return "Lone" in the dynamic filter array created with UNIQUE/FILTER?

Regards, Henrik

Clipboard

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

3 answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 30,126 Reputation points Microsoft External Staff
    2023-07-24T06:01:12.5866667+00:00

    Hi,

    I created a sample here, I cannot reproduce this problem.

    User's image

    I suggest you clear all formulas in E column and F column, then re-enter the formula:

    =UNIQUE(FILTER(tTable[name];RIGHT(tTable[name];1)<>"b"))

    =COUNTIF(tTable[name];E2)

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    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. Henrik Vestergaard 25 Reputation points
    2023-07-24T06:57:21.33+00:00

    Hi. You must use '#', that is the symbol for referencing a dynamic filter array, like E2#. '#' secures, that the referenced area expands, when the source data expands, and thats a wonderfull new thing in Excel, and important in my real life scenario.

    0 comments No comments

  3. Henrik Vestergaard 25 Reputation points
    2023-07-29T10:37:12.67+00:00

    FYI, I found this to make slicers filter array formulas, very usefull! https://exceloffthegrid.com/using-slicers-with-formulas/

    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.