Filtering in numbers

I want to filter my numbers table in more than one way ... there are multiple filters but you can't execute them separately - is this true or do I miss something

Posted on Jul 21, 2023 1:52 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 21, 2023 9:59 AM

You are not missing anything. You can set up only one filter at a time. If you want to filter your table a different way, you make changes to the filter (which overwrites the one you had previously).


However, you can make numerous filters (or "dynamic" filters) with a few columns and a single actual filter. Below is an example put together for someone who wanted to filter their table of music. You enter the filtering criteria into a small table. The main table has extra columns containing formulas that determine which rows meet each criteria. One final column puts it all together and you put a single "if true" filter on that column.



Column D is TRUE if the name matches

Column E is TRUE if the year range matches

Column F is TRUE if D and E are TRUE

Filter column F. The filter is off at the moment. When on, only the rows where column F is TRUE will be shown.

All the columns that say "hide" are to be hidden after it is all set up


The actual formulas aren't important because they don't fit what you are doing but here they are anyway:


D2 =LEFT(B2,LEN(Search Criteria::$C$2))=Search Criteria::$C$2

E2 =AND(C2≥Search Criteria::$C$3,C2≤Search Criteria::$C$4)

F2 =AND(D2,E2)

fill down with all three


In the Search Criteria Table,

C2 = B2&""

C3 =IF(B3="",0,B3)

C4 =IF(B4="",9999,B4)


This is actually a very simple example. You can get wild with ORs and ANDs and XORs and all kinds of whacky stuff that would be impossible to do with a simple filter.


If you provide more specifics on your table and what you need to do, it would be possible to provide an example that fits your data better.




4 replies
Question marked as Top-ranking reply

Jul 21, 2023 9:59 AM in response to :: phil (Vienna)

You are not missing anything. You can set up only one filter at a time. If you want to filter your table a different way, you make changes to the filter (which overwrites the one you had previously).


However, you can make numerous filters (or "dynamic" filters) with a few columns and a single actual filter. Below is an example put together for someone who wanted to filter their table of music. You enter the filtering criteria into a small table. The main table has extra columns containing formulas that determine which rows meet each criteria. One final column puts it all together and you put a single "if true" filter on that column.



Column D is TRUE if the name matches

Column E is TRUE if the year range matches

Column F is TRUE if D and E are TRUE

Filter column F. The filter is off at the moment. When on, only the rows where column F is TRUE will be shown.

All the columns that say "hide" are to be hidden after it is all set up


The actual formulas aren't important because they don't fit what you are doing but here they are anyway:


D2 =LEFT(B2,LEN(Search Criteria::$C$2))=Search Criteria::$C$2

E2 =AND(C2≥Search Criteria::$C$3,C2≤Search Criteria::$C$4)

F2 =AND(D2,E2)

fill down with all three


In the Search Criteria Table,

C2 = B2&""

C3 =IF(B3="",0,B3)

C4 =IF(B4="",9999,B4)


This is actually a very simple example. You can get wild with ORs and ANDs and XORs and all kinds of whacky stuff that would be impossible to do with a simple filter.


If you provide more specifics on your table and what you need to do, it would be possible to provide an example that fits your data better.




Jul 21, 2023 11:31 AM in response to SGIII

No, doesn't have to be that complicated. The real point is to have a column in the table with a formula that is TRUE for rows that are to be shown. The second table was so the user does not have to change the formula every time they want to filter on something different, they just type a different criteria into a cell.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Filtering in numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.