ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   -sign (https://www.excelbanter.com/excel-discussion-misc-queries/248860-sign.html)

bbc1

-sign
 
I have5 columns a b c d e
I would like a formula to work out and show a minus sign if the total of
cell d is greater than the total of cell a, if cell d is greater that cell a
just the difference,
ie a100 a10
d101 d 9
e -1 e 1


CLR

-sign
 
=A1-D1

Vaya con Dios,
Chuck, CABGx3



"bbc1" wrote:

I have5 columns a b c d e
I would like a formula to work out and show a minus sign if the total of
cell d is greater than the total of cell a, if cell d is greater that cell a
just the difference,
ie a100 a10
d101 d 9
e -1 e 1


Jacob Skaria

-sign
 
In E1 try

=SIGN(A1-D1)

If this post helps click Yes
---------------
Jacob Skaria


"bbc1" wrote:

I have5 columns a b c d e
I would like a formula to work out and show a minus sign if the total of
cell d is greater than the total of cell a, if cell d is greater that cell a
just the difference,
ie a100 a10
d101 d 9
e -1 e 1



All times are GMT +1. The time now is 10:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com