Share via

=filter(a2#...

Anonymous
2022-08-25T18:19:06+00:00

If I use the filter formula with a standard reference like =FILTER(A2:C77,B2:B77=D1) It leads to potential spill errors.

Since I am filtering an array can I replace "A2:C77" with the A2# notation? How would the include syntax go to filter off of the B column?

Thx!

Microsoft 365 and Office | Excel | For business | 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

4 answers

Sort by: Most helpful
  1. Anonymous
    2022-08-25T20:55:23+00:00

    Try:

    =FILTER(A2#,INDEX(A2#,,2)=D1)

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-08-25T20:22:25+00:00

    I am not meaning to be difficult but I am not seeing how a screenshot is relevant to my question. I am aware of the spill error but do not want to change the format or layout of the worksheet.

    Perhaps, I should ask simply, if writing a formula =FILTER(A2#,What-Comes-Next)

    How would I list the condition of the filter to include?

    Was this answer helpful?

    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Anonymous
    2022-08-25T18:50:47+00:00

    Dear Purchasing1,

    Good day! Thank you for posting to Microsoft Community. We are happy to help you.

    As per your description, refer to article FILTER function is using an array of criteria as like in your case "A2:C77".

    As you mentioned, "If I use the filter formula with a standard reference like =FILTER(A2:C77,B2:B77=D1) It leads to potential spill errors."  error occurs when the spill range for a spilled array formula isn't blank or merged cells. Kindly check this article to see if you meet the conditions and how to fix it: How to correct a #SPILL! error

    If possible, could you please upload a screenshot of your Excel data sheet view for out reference so we can understand your exact scenario and provide our suggestion in a productive manner, perhaps some related screenshots will be helpful.

    Your understanding and patience will be highly appreciated. I hope that you are keeping safe and well!

    Sincerely,

    Waqas Muhammad

    Was this answer helpful?

    0 comments No comments