Numbers not adding up Can you Help Please

Hi,

Using what if formula, to arrive at values in their respective column

Then want to simply add up, using Sum, the range of cells in the column

Got it to work on some columns, but not others

Very strange- have you come across this

2 screen shots- On the cell with the If calc, the other showing the sum calc


Thanks in advance if you think you can help

MacBook Pro 15″, macOS 12.6

Posted on Feb 8, 2023 01:48 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 8, 2023 02:56 PM

The numeric functions such as SUM ignore text, even text that is all number characters. The quotes around "1" in your formula =IF(K3=-0,"1","-") formats the 1 as text. Try this instead:


=IF(K3=0,1,"-")


I assume you did the same thing in other formulas so you might need to change them also if you will be using numeric functions on them.

4 replies
Question marked as Top-ranking reply

Feb 8, 2023 02:56 PM in response to Peirrethefrenchman

The numeric functions such as SUM ignore text, even text that is all number characters. The quotes around "1" in your formula =IF(K3=-0,"1","-") formats the 1 as text. Try this instead:


=IF(K3=0,1,"-")


I assume you did the same thing in other formulas so you might need to change them also if you will be using numeric functions on them.

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.

Numbers not adding up Can you Help Please

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