Trying to 'COUNT'/TOTAL' checkboxes in a column in NUMBERS

I've scoured the Mac chat rooms and dozens of Google searches. But STILL need a hand.

  1. Column B (for example) has checkbox options
  2. Some rows are checked some are not
  3. At the bottom I want to "TALLY UP" HOW MANY CHECK BOXES were selected in that column (TRUE).
  4. Ca NOT figure how to do it. HELP??
  5. Current formula I'm trying is
    - Selected cell B:32 as the 'TOTAL' box
    - Then at the right in Format / Cell / Data Format, I created: =COUNTIFS(B3:B31,"=TRUE")
  6. But then, no number/totals appear in the box 😟

Can anyone help?? ?
I feel like I'm very close, but this is a bit more code-y than I'm used to 🙂


Thanks, guys.User uploaded file


(Screen grab attached)

MacBook Pro (Retina, 15-inch, Mid 2015), macOS Sierra (10.12.3), Numbers v4.1

Posted on Apr 1, 2017 9:28 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 1, 2017 11:30 AM

Hi w'


Your formula should work, but you have entered it as a 'custom format', not as a formula.


Click on cell B32 to select it, then click the Format brush and choose Cell.

In the Cell Format inspector shown in your screen shot, click the Edit custom format button, and delete the custom format that is shown.

Then change the Cell format selection back to Automatic.


Deselect B32 by clicking any other cell, then reselect it by clicking once on B32.

Place the mouse pointer between the Row reference tab for row 32 and the edge of the table. Click the v that appears in the space and choose Convert to Footer row.

User uploaded file

If Rows 1 and 2 are not both header rows, repeat this process, choosing Convert to header row for each. (If the row is already a Header row, the choice to convert will not be available in the menu

Footer rows and Header rows are excluded from whole column references in functions such as COUNTIF, making the formula a bit simpler.


Reselect B32 to ensure it is the only selected cell.


Press = to open the Formula editor.


Type either of the two formulas below into the Formula editor.*


COUNTIF(B,TRUE)


COUNTIFS(B,TRUE)


Click the green checkmark to confirm the entry.


Move the mouse pointer toward the right edge of the selected cell (B32). A yellow dot will appear in the middle of that edge. Grab it with the mouse and drag right to fill the formula into the rest of the cells in the Footer row.

Each copy of the formula will count the checked cells in its column.


User uploaded file


Regards,

Barry


* The first function (COUNTIF) counts a cell if one condition is met.

The second counts a cell only if ALL specified conditions are met.

As you case requires only one condition (The cell's value is TRUE), either function can be used.


EDIT: Added screen shot with formula.

4 replies
Question marked as Top-ranking reply

Apr 1, 2017 11:30 AM in response to whmddc

Hi w'


Your formula should work, but you have entered it as a 'custom format', not as a formula.


Click on cell B32 to select it, then click the Format brush and choose Cell.

In the Cell Format inspector shown in your screen shot, click the Edit custom format button, and delete the custom format that is shown.

Then change the Cell format selection back to Automatic.


Deselect B32 by clicking any other cell, then reselect it by clicking once on B32.

Place the mouse pointer between the Row reference tab for row 32 and the edge of the table. Click the v that appears in the space and choose Convert to Footer row.

User uploaded file

If Rows 1 and 2 are not both header rows, repeat this process, choosing Convert to header row for each. (If the row is already a Header row, the choice to convert will not be available in the menu

Footer rows and Header rows are excluded from whole column references in functions such as COUNTIF, making the formula a bit simpler.


Reselect B32 to ensure it is the only selected cell.


Press = to open the Formula editor.


Type either of the two formulas below into the Formula editor.*


COUNTIF(B,TRUE)


COUNTIFS(B,TRUE)


Click the green checkmark to confirm the entry.


Move the mouse pointer toward the right edge of the selected cell (B32). A yellow dot will appear in the middle of that edge. Grab it with the mouse and drag right to fill the formula into the rest of the cells in the Footer row.

Each copy of the formula will count the checked cells in its column.


User uploaded file


Regards,

Barry


* The first function (COUNTIF) counts a cell if one condition is met.

The second counts a cell only if ALL specified conditions are met.

As you case requires only one condition (The cell's value is TRUE), either function can be used.


EDIT: Added screen shot with formula.

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.

Trying to 'COUNT'/TOTAL' checkboxes in a column in NUMBERS

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