Show Positive or Negative Change Between 2 Cells in Numbers

Hi,


I can't figure out how to show the difference between 2 cells values with the plus and negative. I managed to use ABS to show the difference but that doesn't reflect whether it's positive or negative. Eg.


Week One Volume: 12000

Week Two Volume: 8000


Difference From Previous Week: -4000


or


Week One Volume: 8000

Week Two Volume: 12000


Difference From Previous Week: +4000


Thank you in advance of any help or wisdom offered.

iMac (Retina 5K, 27-inch, Late 2015), iOS 10.0.2

Posted on Oct 10, 2016 5:15 AM

Reply
4 replies

Oct 10, 2016 7:11 AM in response to MazY5269

I do not suggest pre-pending the "+" sign before numeric values as they will ne be available in later calculations. you can use conditional formatting to highlight positive and negative trends:


select the cells with the difference, then open the cell formatter:

User uploaded file


Click the button "Conditional Highlighting…"

User uploaded file

Add two rules:

- one for Greater than zero (select the built-in green highlighting)

- one for Less than zero (select the built-in red highlighting)


User uploaded file

Oct 10, 2016 7:11 AM in response to MazY5269

In Numbers the positive sign is implied when there is no sign and the negative sign is always shown for negative numbers


If you must see the plus sign, then you could do something like this:

User uploaded file


column A contains the "result" of the difference between two values. Column B contains the formula:


B1=IF(A1>0, "+", "")&A1

this is shorthand for... select cell B1, then type (or copy and paste from here) the formula:

=IF(A1>0, "+", "")&A1


To fill down

select cell B1, copy

select cells B1 thru the end of column B, paste



for your specific situation...

User uploaded file


B3=IF(A3>A2, "+", "")&(A3−A2)

select cell B3, copy

select cells B3 thru the end of column B, paste



I should caution you that forcing the plus sign before positive number can interfere with math calculations if the contents of column B is later used in a formula


you can, instead, use conditional formatting to highlight positive an negative trends like this:


select the cells in column B to format:

Oct 10, 2016 7:12 AM in response to Wayne Contello

Thank you both. I hadn't realised that positive is implied and negative is shown in the case of a negative value. I've also taken on board your caution regarding math calculations if I were to add a "+".


Given this is part of a much larger project, I'm going to take your advice and elect to keep the numbers 'raw' as it were in order to give me more flexibility as it evolves, and simply use the formatting as described above.


Thank you both very much for your insight. It's appreciated.

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.

Show Positive or Negative Change Between 2 Cells in Numbers

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