SOLVED

Filter a table with wildcards based on a different cell not within the table

%3CLINGO-SUB%20id%3D%22lingo-sub-3130706%22%20slang%3D%22en-US%22%3EFilter%20a%20table%20with%20wildcards%20based%20on%20a%20different%20cell%20not%20within%20the%20table%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3130706%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20morning!%20I'm%20trying%20to%20create%20a%20scenario%20where%20I%20can%20filter%20my%20table%20based%20on%20a%20data-validated%20cell%20that%20is%20not%20within%20the%20table.%20Is%20there%20a%20way%20to%20do%20this%3F%20See%20attached%20for%20sample%20dataset.%20Thank%20you%20all!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3130706%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20Scripts%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3130996%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20a%20table%20with%20wildcards%20based%20on%20a%20different%20cell%20not%20within%20the%20table%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3130996%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1297089%22%20target%3D%22_blank%22%3E%40keltzjd%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20attached%20file%20you%20can%20select%20the%20name%20which%20should%20be%20excluded%20and%20then%20click%20the%20button%20in%20cell%20E2%20to%20start%20the%20macro.%20With%20Office365%20or%202021%20you%20can%20use%20FILTER%20function%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3131035%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20a%20table%20with%20wildcards%20based%20on%20a%20different%20cell%20not%20within%20the%20table%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3131035%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1297089%22%20target%3D%22_blank%22%3E%40keltzjd%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIn%20the%20attached%20file%20you%20can%20select%20the%20name%20which%20should%20be%20excluded%20and%20then%20click%20the%20button%20in%20cell%20E2%20to%20start%20the%20macro.%20With%20Office365%20or%202021%20you%20can%20use%20FILTER%20function%20as%20well.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Good morning! I'm trying to create a scenario where I can filter my table based on a data-validated cell that is not within the table. Is there a way to do this? See attached for sample dataset. Thank you all!

 

 

5 Replies

@keltzjd 

In the attached file you can select the name which should be excluded and then click the button in cell E2 to start the macro. With Office365 or 2021 you can use FILTER function as well.

How do you achieve it with the filter function? I'd like to stay away from macros just because this will be uploaded to a SharePoint and SP doesn't like macro-enabled workbooks. Thank you!
best response confirmed by keltzjd (Occasional Contributor)
Solution

@keltzjd 

=FILTER($A$7:$F$13,NOT(ISNUMBER(SEARCH($A$3,$F$7:$F$13,1))))

 

This formula works in my Excel online spreadsheet.

Ahh, it creates a new table, I see. Is there any way to have the cell referenced filter the current table? I have a gantt chart connected to the data so the end goal is to have the name filter the table which shows a gantt for that person.

@keltzjd 

Unfortunately i can't suggest a solution to filter the current table according to the selection of the dropdown cell (without creating a new table). But i wonder if it's possible to link the gantt chart to the new filtered table.