Filter basic using # notation

ValuationMan

New Member
Joined
Jun 30, 2017
Messages
49
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I really like using # to capture all of the cells in a spilled array. Let's say A1 contains the spilled array. I could easily do something like =COUNTIFS(array, A1#) and the COUNTIFS will do the formula for each of the cells in A1#. Is there someway to do that with filter? I'm trying to do something like =SUM( FILTER(Array, Array_Condition = A1#))
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
The usual approach would be something like this:

=SUM(--ISNUMBER(MATCH(Array,A1#,)))

If you are determined to use the FILTER function, you'd need a more complicated construction. One possibility:

=LET(m,MATCH(Array,A1#,),COUNT(FILTER(m,ISNUMBER(m))))
 
Upvote 0
Can you post some sample data along with expected outcome.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top