Help with dynamic Filter that brings Ref!

josvill2010

New Member
Joined
Jun 1, 2011
Messages
40
Office Version
  1. 365
HI Everybody, When using the dynamic filter option I get the message SPILL!.
To fix it I added more rows for which I am getting the ref! error but they are in lines that they are not bringing new data.
I would like to delete them but when I do that the spill message comes back.
In theory I should need only one row in this case.

VendorRequestorPO #Amount DKKUnBilled PO CurrencyPOC
Vendor name 1 Joe 1
2110003687​
$182,267$18,640Joe 1
#REF!​
#REF!​
#REF!​
#REF!#REF!
#REF!​
#REF!​
#REF!​
#REF!#REF!
#REF!​
#REF!​
#REF!​
#REF!#REF!
#REF!​
#REF!​
#REF!​
#REF!#REF!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
What is the formula you are using & what is you data like?

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
HI Everybody, When using the dynamic filter option I get the message SPILL!.
To fix it I added more rows for which I am getting the ref! error but they are in lines that they are not bringing new data.
I would like to delete them but when I do that the spill message comes back.
In theory I should need only one row in this case.

VendorRequestorPO #Amount DKKUnBilled PO CurrencyPOC
Vendor name 1Joe 1
2110003687​
$182,267$18,640Joe 1
#REF!​
#REF!​
#REF!​
#REF!#REF!
#REF!​
#REF!​
#REF!​
#REF!#REF!
#REF!​
#REF!​
#REF!​
#REF!#REF!
#REF!​
#REF!​
#REF!​
#REF!#REF!

LLA_Vendors_DPC Calendar spend_2022.xlsx
ABCDEF
3VendorRequestorPO #Amount DKKUnBilled PO CurrencyPOC
4Vedndor 1Joe12110003687$182,267$18,640Joe1
LLA
Cell Formulas
RangeFormula
A4:E15A4=INDEX(FILTER('Open PO'!A:I,IFERROR(('Open PO'!E:E=U16)*('Open PO'!B:B=LLA!$B$1)*('Open PO'!G:G<>""),0),""),SEQUENCE(COUNTIFS('Open PO'!E:E,U16,'Open PO'!G:G,"<>")),{3,6,7,8,9})
F4F4=B4
Dynamic array formulas.
Named Ranges
NameRefers ToCells
'Open PO'!_FilterDatabase='Open PO'!$A$3:$AR$277A4
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E1:E3,E30:E33,E35:E45,E47:E54,E56:E60,E62:E66,E68:E72,E74:E78,E80:E83,E85:E90,E16:E20,E27,E122,E159:E1048576Cell Value>=500000textNO
 
Last edited by a moderator:
Upvote 0
Thanks for that, but I don't see the problem, your formula seems to be spilling quite happily.
 
Upvote 0
Thanks for that, but I don't see the problem, your formula seems to be spilling quite happily.
it creates unneeded 11 rows under with error Ref!. It's supposed to be just one row.
By the way how can I delete the names from the previous table?


LLA_Vendors_DPC Calendar spend_2022.xlsx
ABCDEF
3VendorRequestorPO #Amount DKKUnBilled PO CurrencyPOC
4Vendor 1Joe 1 2110003687$182,267$18,6400
5#REF!#REF!#REF!#REF!#REF!
6#REF!#REF!#REF!#REF!#REF!
7#REF!#REF!#REF!#REF!#REF!
8#REF!#REF!#REF!#REF!#REF!
9#REF!#REF!#REF!#REF!#REF!
10#REF!#REF!#REF!#REF!#REF!
11#REF!#REF!#REF!#REF!#REF!
12#REF!#REF!#REF!#REF!#REF!
13#REF!#REF!#REF!#REF!#REF!
14#REF!#REF!#REF!#REF!#REF!
15#REF!#REF!#REF!#REF!#REF!
16
LLA
Cell Formulas
RangeFormula
A4:E15A4=INDEX(FILTER('Open PO'!A:I,IFERROR(('Open PO'!E:E=U16)*('Open PO'!B:B=LLA!$B$1)*('Open PO'!G:G<>""),0),""),SEQUENCE(COUNTIFS('Open PO'!E:E,U16,'Open PO'!G:G,"<>")),{3,6,7,8,9})
F4F4=B4
Dynamic array formulas.
Named Ranges
NameRefers ToCells
'Open PO'!_FilterDatabase='Open PO'!$A$3:$AR$277A4
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E1:E3,E30:E33,E35:E45,E47:E54,E56:E60,E62:E66,E68:E72,E74:E78,E80:E83,E85:E90,E16:E20,E27,E122,E159:E1048576Cell Value>=500000textNO
 
Upvote 0
Difficult to tell as you haven't posted the actual data, but should the countifs also be looking at col B as the filter function is?
 
Upvote 0
Solution
Another option if you have the LET function is
Excel Formula:
=LET(f,FILTER('Open PO'!A:I,IFERROR(('Open PO'!E:E=U16)*('Open PO'!B:B=$B$1)*('Open PO'!G:G<>""),0),""),INDEX(f,SEQUENCE(ROWS(f)),{3,6,7,8,9}))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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