Apple Numbers Multiple Filters?

Is there a way to set up multiple filters for one table? In other words, I want to see my table filtered "this way," then I want to see the same table filtered "that way."

MacBook Pro with Touch Bar

Posted on Aug 3, 2019 4:08 AM

Reply

Similar questions

14 replies

Aug 4, 2019 7:46 PM in response to Bruce Kieffer

Hi Bruce,


Thanks for the list. A little different from expected (tabs separating 'columns', return starting a new row, but not all that difficult to transfer the single column paste result into rows of seven values.


The columns showing TRUE and FALSE are the checkbox cells, and show TRUE if they were checked an False if they were unchecked. The others contain the data that was in them when copied.


Rows 1 and 2 are header rows. The two green filled cells in row 1 contain the text "List: " (F1(and a three item (All, Grocery, Packing) popup menu with which the filter is set.


The table has one new column (H, named 'Filter', containing a three tier nested IF formula that tests each line against the filter conditions for the filter chosen in G, and return a "Yes" if the row is to be shown and a "No" if it is not. Column H is intended to be hidden.


Here is a screen shot, showing the header rows and several rows that will be marked for hiding when a filter other than All is chosen.


Filter set to All: Formula in column H is shown below each view of the table.

With the filter set to All, the first IF test returns TRUE, and the formula immediately places "Yes" H40, the cell containing this copy of the formula.

Note that the first test has two parts: the filter is set to ALL, OR, the cell on this row of column G contains "Show". The second part of the OR ensures that the 'category rows' (such as row 40) will show in every filtered version of the table.


Same Table section with the filter set to Grocery.

Row 40 still gets a Yes, due to "Show" in G40. Other category header rows also get a Yes, and they all have "Show" in column G.

For rows without Show in column G, the second test is called.

This is a three part test. Part 1 requires that the filter is set to Grocery, part 2 that the checkbox in column G is set to TRUE (checked), and part three returns TRUE is the value in column B is greater than zero. If all three tests result TRUE, a yes is returned. Otherwise the next IF is called, the first part returns FALSE, and a No is returned to the cell containing the formula.


Same section of the table, with the filter set to Packing:

With the filter set to Packing the first two IFs return False (except on category header rows) and the third IF is called.

his checks that the filter is set to Packing, then tests each row for a quantity greater than zero in column B. f found, the test returns TRUE, the formula returns Yes. If not found, the test returns False, and the formula returns No.


The actual filter rule is set to show only rows with Yes in column H, as shown beside the table below, with column H hidden, and the filter activated:

The formula, as entered in cell H3, can be copied from here and pasted to H3, then filled down the whole column.

H3: IF(
OR(G$1="All",G3="Show"),"Yes",
IF(AND(G$1="Grocery",G3,B3>0),"Yes",
IF(AND(G$1="Packing",B3>0),"Yes",
"No")))


Regards,

Barry




Aug 4, 2019 2:33 PM in response to Barry

Barry,

I don't know why the Produce section did not appear in my screen shot, but it does in my sheet.


The other filter I need is a "Packing List" that would show all items greater than zero irrelevant of if they are bought at the grocery store or not. It's too bad that Numbers doesn't not allow for multiple filters that can be turned on and off. The filters either exist or they have to be deleted.



IN FRIDGE



Count or

# of

Grocery

Packed

Quantity

Unit

Item

Per Person

Meals

Store

1

BREAD





Show

FALSE

9

slices

french toast bread

3

1

TRUE

FALSE

6

each

hot dog buns

2


TRUE

FALSE

12

each

tortillas

2

2

TRUE

1

DAIRY





Show

FALSE

1.35

pounds

butter count from menu

0.45


TRUE

FALSE

1.08

pounds

cheese

0.18

2

TRUE

FALSE

12

large

eggs

2

2

TRUE

1

MEAT





Show

FALSE

2.7

pounds

bacon

0.3

3

TRUE

FALSE

0

pieces

chicken breasts

1

0

TRUE

FALSE

3

servings

ham, breakfast

1

1

TRUE

FALSE

6

wieners

hot dogs

2

1

TRUE

FALSE

27

links

sausage links

3

3

TRUE

FALSE

1.9998

pounds

shrimp, frozen

0.6666

1

TRUE

FALSE

0

pieces

steak

1

0

TRUE

1

PRODUCE





Show

FALSE

3

pieces

corn on the cob

1

1

TRUE

FALSE

1.00

bud

garlic clove

0.13


TRUE

FALSE

0.6

head

lettuce

0.2

1

TRUE

FALSE

4.50

medium

onions

1.50


TRUE

FALSE

6

spuds

potatoes

1

2

TRUE

1

IN FOOD PACK





Show

1

CONDIMENTS





Show

FALSE

6

servings

Blackened

1

2

FALSE

FALSE

300

ml

fish batter, Shore Lunch

50

2

TRUE

FALSE

1.125

packets

hollandaise sauce

0.375

1

TRUE

FALSE

0.39

8 oz.

salad dressing

0.13

1

TRUE

FALSE

6

oz.

Salsa

2

2

TRUE

1

DRINKS





Show

FALSE

720

ml

coffee



FALSE

FALSE

0.8

packets

milk

0.25

0

TRUE

1

EMERGENCY FOOD





Show

FALSE

9

servings

Cache Lake Fry Bread



FALSE

FALSE

3

servings

dinner



FALSE

FALSE

4.5

servings

oatmeal

1.5


FALSE

FALSE

6

cups

soup

2


FALSE

1

MEALS & SIDE DISHES





Show

FALSE

0.0

servings

cereal

0

0

TRUE

FALSE

3

servings

CL Brunch Bread

1

1

FALSE

FALSE

0

servings

CL Chicken ala King w/Rice

1

0

FALSE

FALSE

3

servings

CL Chicken Stew 

1

1

FALSE

FALSE

3

servings

CL Dumplings

1

1

FALSE

FALSE

3

servings

CL French Toast

1

1

FALSE

FALSE

6

servings

CL Hash Browns

1

2

FALSE

FALSE

0

servings

CL Scones

1

0

FALSE

FALSE

12

servings

CL Vegetables

1

4

FALSE

FALSE

3

servings

CL Western Omelet

1

1

FALSE

FALSE

12

servings

condiments (mustard & ketchup)

4

1

FALSE

FALSE

3

servings

couscous

1

1

TRUE

FALSE

7

Zip locks

muffins (breakfast)



TRUE

FALSE

0.0

servings

oatmeal

0

0

TRUE

FALSE

780

ml

oil, canola cooking

260


TRUE

FALSE

4.5

packets

pancakes

0.5

3

TRUE

FALSE

0

servings

pasta

1

0

TRUE

FALSE

3

servings

rice

1

1

TRUE

FALSE

0

dried

soup

0.25

0

TRUE

FALSE

0

packets

tomato sauce

0.125

0

TRUE


Aug 4, 2019 1:58 PM in response to Bruce Kieffer

HI Bruce,


The two filter rules you have set are sufficient to switch between the 'full view' shown in the image above the rule and the 'grocery list' image showing only the rows where QTY contains a value that is not equal to zero AND the Grocery checkbox is checked.


The missing "Produce" row is a mystery, as is the filter rule's labeling of the two conditions ranges "Bread" and "Show"

Is row 3 a Header row? That would explain "Bread" in the rule.and might also indicate "Show" is a default name to use when the cell from which that label would be copied is empty, as it is in your table.


So what you have (almost) is a pair of rules the filter the table 'this way' (as a grocery list). What other filters do you need?


With your reply, please include a copy of the DATA in the unfiltered table.

Click on cell A1 of the table to select it, then shift-click on the bottom right cell to expand the selection to 'all cells' on the table.

Copy.

Click in the compose box for your reply.

Paste.*


This pastes the data as a tab delimited list, which can be copied at this end and pasted into a new table in Numbers much more quickly (and accurately) than attemting to transcribe it from a screenshot image of the table.


Regards,

Barry


*When pasting the data, use command-V only if there are no formulas in the table. If there are formulas, go to the Edit menu and choose Paste Formula Results.

B.

Aug 5, 2019 9:15 AM in response to Barry

Thanks Barry. I appreciate the effort you put into a solution, but this is far more complex than the value I can receive with filtering. I have other options. The one that comes to mind is to duplicate the table and then use the other filter on that table.


The obvious best solution would be for Apple to add a multi filtering. Create filter sets that can be turned on or off. I have sent that feedback to Apple.

Aug 3, 2019 11:41 AM in response to Bruce Kieffer

"Is there a way…"


HI Bruce,


Yes, there is, but the way is specific to the details of your table and the details of 'this way' and 'that way' and 'the other way', etc.


Please provide the details requested by Yellowbox, including enough of the table in the screenshot to display the information/data by which the table is to be filtered.


Regards,

Barry


Aug 3, 2019 3:33 PM in response to Barry

Let me explain: I created a "Groceries" list for camping. I need it to do two things. First, I need it to show me only those items in the "Quantity" column (B column) that are greater than 0. I know how to create that filter. Then I need to use it as a shopping list for when I go to the grocery store to buy the items I don't have on hand, and in that case, I want the list to show the greater than 0 items that I need to buy from the grocery store (checked in column G). I have that working with the filter setup in my screenshot, but that kills my ability to see the complete list of all items quantity greater than zero that I need to buy at the grocery store and also what I have on-hand.


Aug 3, 2019 7:18 AM in response to Bruce Kieffer

Hi Bruce,

Bruce Kieffer wrote:

Is there a way to set up multiple filters for one table? In other words, I want to see my table filtered "this way," then I want to see the same table filtered "that way."

Yes, there is, but we can't see "this way" and "that way".


To help us help you, please click on your table to select it so that it shows the column labels (A, B, C etc) and row labels (1, 2, 3 etc). Then post a screen shot of a small part of your table. (Full screen grabs are often difficult to read 🤨.)


And please explain your overall aim.


Regards,

Ian.

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.

Apple Numbers Multiple Filters?

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