Exclude strikethrough cells in a Sum in Numbers

Is it possible to not count strikethrough cellsin a Sum? I want to sum the values in the cells on a column, excluding the strikethrough ones but I can't find how. Thanks!

MacBook Pro with Retina display, macOS High Sierra (10.13.4)

Posted on May 21, 2018 1:33 AM

Reply
4 replies

May 22, 2018 6:50 AM in response to Glorfindelor

"Stikethrough" is a format setting. It does nothing to change the value of the number being struck, and is not detectable by a formula.


You might try using checkbox cells in an adjacent column to indicate which values are to be included in the sum.


Checkboxes cells contain a boolean value, either 'true' (checked) or 'false' (unchecked). Use with SUMIF to sum only the numbers in rows where the checkbox is checked.

User uploaded file

Regards,

Barry

May 21, 2018 8:24 AM in response to Glorfindelor

Hi Glorfindelor,


You can amaze your friends with this:

User uploaded file

Here is what is going on "behind the curtain"

User uploaded file

Formula in Footer Cell B11 is Barry's formula =SUMIF(A,TRUE,B)

(11 rows, because I inserted a Header Row)

User uploaded file

Formula in the extra Column C (Cell C2 and Fill Down) =IF(A2,B2,"")


User uploaded file

Formula in the Footer Cell B11 of the "Presentation" table ="Total not strikethrough = "&Table 1::B$11


Now for Conditional Highlighting in the table "Presentation"

User uploaded file

Numbers will automatically Fill Down that Conditional Highlighting rule and adjust the rule to suit all selected cells.


Insert another Sheet and move (Cut and Paste) Table 1 to the new Sheet to "hide" it while you amaze your audience.

User uploaded file

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.

Exclude strikethrough cells in a Sum in Numbers

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