You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to check a checkbox in a table row Mac Numbers and make all other rows disappear?

So I have a table with rows and columns. 1 column contains checkboxes named "focus" and I want to quickly focus on 1 row and hide all other rows by checking off one checkbox, provided that all checkboxes in that column are empty as a starting point.


I know you can use filters but I want is to reduce my actions of clicking so that it works with 1 click i.e. that checkbox.


So again: from multiple rows showing to only one row showing, the one you checked.

Once that checkbox is unchecked, it should show all again.


Can it be done you think?

MacBook Pro 13", macOS 10.13

Posted on Mar 27, 2020 4:29 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 27, 2020 6:12 PM

Hi BP,




Hide column E, and it looks like this:

E2 contains the formula below, filled down to the end of the column.


E2: OR(COUNTIF(A,TRUE)=0,A2=TRUE)


The table is filtered on column E to show only rows containing "TRUE".


Regards,

Barry




Similar questions

6 replies

Mar 28, 2020 5:47 AM in response to BassPlaya

Hi BassPlaya,


I see that you have marked Barry's reply as solved (bravo, Barry!), but you have a further question. I can't give up on a challenge. Here is another way.

My brain works in small steps, so please forgive the extra columns E and F (you can hide them when all is working).



Formula in E2 = COUNTIF(A,"TRUE")

Fill down.



Formula in F2 =IF(SUM(E)=0,"Show",IF($A2,"Show,",""))

Fill down.


Now click on one of your Tick Boxes in column A



And apply the filter as suggested by Barry.



To show all rows again, untick the Tick Box in column A (Tick Boxes used to be called Check Boxes).


Regards,

Ian.



Mar 28, 2020 12:08 PM in response to BassPlaya

HI BP,


Essentially correct.


E2: OR(COUNTIF(A,TRUE)=0,A2=TRUE)


test 1: COUNTIF(A,TRUE)=0   TRUE if no cell in column A is checked, FALSE if any cell in columnA is checked.

test 2: A2=TRUE     TRUE if the cell in 'this row' of column A is checked, FALSE if the cell in 'this row' of column A is not checked


OR(test 1, test 2)   TRUE if test 1 is TRUE or if test 2 is TRUE, FALSE if test 1 AND test 2 are both FALSE.


Each copy of the formula sets the value in 'this row' of column E to TRUE or to FALSE.


The filter shows only the row(s) containing TRUE


Regards,

Barry

Mar 28, 2020 3:10 PM in response to Barry

Got it. I had a problem understanding the COUNTIF part, it didn't make sense to me at first even though it works. But now I get it: the COUNTIF(A, TRUE) basically means COUNT the number of TRUE values in column A AND then go check to see if it's equal to 0. COUNTIF(A,TRUE)=0


Thanks again! Keep sharing. I will do the same.

How to check a checkbox in a table row Mac Numbers and make all other rows disappear?

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