FILTER/INDEX value error

excelos

Well-known Member
Joined
Sep 25, 2011
Messages
591
Office Version
  1. 365
Platform
  1. Windows
Hello

Can you tell me please why I get a VALUE error for the below?

=FILTER(INDEX('detail'!$1:$1,0,MATCH(JDM2,'detail'!$1:$1,0)),('detail'!$B:$B=JDP4:JEO4))

I am not sure where the error is.

I want to lookup JDM2 in the first row of 'detail' and then filter this whole column using the condition detail'!$B:$B=JDP4:JEO4.

I also get 'not enough memory to complete calculation' error!

Thanks!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Your index function is only returning one cell.
 
Upvote 0
I also get a VALUE error for the below:

=FILTER(INDEX('detail'!$1:$1000,0,MATCH(IAM2,'detail'!$1:$1,0)),'detail'!$B1:$B1000=$IAP$4:$IBO$4)

Any idea?
 
Upvote 0
I think your criteria needs to be more like

Excel Formula:
=FILTER(INDEX('detail'!$1:$1000,0,MATCH(IAM2,'detail'!$1:$1,0)),ISNUMBER(MATCH('detail'!$B1:$B1000,$IAP$4:$IBO$4,0)))

so you just have one TRUE/FALSE value for each row, not an array for each.
 
Upvote 0
Thanks, this works but can you explain please why the 'detail'!$B1:$B1000=TRANSPOSE($JDP$4:$JEO$4) does not work and produces N/A?

I cannot see why it doesn't work.
 
Upvote 0
You’d be trying to equate a column of values to a shorter column of values, which can’t work
 
Upvote 0

Forum statistics

Threads
1,214,877
Messages
6,122,051
Members
449,064
Latest member
scottdog129

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