Issue filtering rows containing INDEX MATCH

sshea

New Member
Joined
Dec 3, 2014
Messages
1
I have ~2,000 rows of information in columns A-M in worksheet "2014_ALL".
Column M contains an INDEX MATCH formula which pulls information from another worksheet, "REPORT".
My formula works perfectly, however I need to be able to filter and sort the information. When I attempt to sort the information, the formula does not update properly and returns #N/A. The problem seems to come from the last cell reference in the formula.


ORIGINAL FORMULA IN CELL M10
=INDEX(REPORT!A$2:F$2500,MATCH(1,(REPORT!B$2:B$2500=B10)*(REPORT!D$2:D$2500='2014_All'!E10),0),6)
FORMULA IN CELL M10 AFTER SORTING BY COLUMN C
=INDEX(REPORT!A$2:F$2500,MATCH(1,(REPORT!B$2:B$2500=B10)*(REPORT!D$2:D$2500='2014_All'!E288),0),6)

Any ideas how to rectify this??
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Turn your filtered data into a table.

your E10 and E288 in Match function will then need to be changed to... table1[@"ColumnName"]... This will allow you to still filter the table but not lose relative references in the formula.
 
Upvote 0

Forum statistics

Threads
1,217,364
Messages
6,136,114
Members
449,993
Latest member
Sphere2215

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