Is it possible to filter a table using a dynamic column elsewhere?

Bedlam

New Member
Joined
Feb 18, 2020
Messages
46
Office Version
  1. 365
Platform
  1. Windows
I would like to use the filter function if it is possible to have a table filtered by a column of data that is in a separate table
I have two tables:
Table 1
Case Identifications numbers, + loads of other associated data in many columns

Table 2 [Really just a column]
Case Identifications numbers (in essence a subset of this column in Table 1). This will be dynamic

1661166067051.png
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Are you referring to the AutoFilter, or the formula function?
 
Upvote 0
Ok, how about
Excel Formula:
=FILTER(Table1,ISNUMBER(MATCH(Table1[Case_ID],Table2,0)))
 
Upvote 0
Solution
Hi @Fluff
I'm not using Excel Tables as such because my data sheet gets overwritten. I managed to get the Isnumber part working but couldn't get it to work within the wider Filter function. I discovered however that this seemed to work for me - Using another set of tables

=FILTER(Sheet1!$A$2:$B$1048576,COUNTIF(Sheet2!A2:A1048576,Sheet1!B2:B1048576))

thanks for your assistance as it put me on the right track.
 

Attachments

  • 1661183090752.png
    1661183090752.png
    8 KB · Views: 3
Upvote 0
Glad you sorted it & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,504
Messages
6,114,016
Members
448,543
Latest member
MartinLarkin

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