Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am having problems getting a formula to work when I have a negative number
in the first cell and I subtract the second cell (a positive). It adds the number instead of subtracting them. It also happens when I have two negative numbers that I am trying to subtract. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Pat,
I'm afarid that they are the basic rules of maths and negative numbers and that is the result I would expect. Mike "Pat" wrote: I am having problems getting a formula to work when I have a negative number in the first cell and I subtract the second cell (a positive). It adds the number instead of subtracting them. It also happens when I have two negative numbers that I am trying to subtract. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
As Mike says, that's the rules of Maths!
If say you have -5 in F8 and (+2) in G8 and you want -3 to be the answer when you subtract the G8 from the F8 and with -2 G8 you want -7 then try: =F8-G8*SIGN(F8) But personally I would find it very confusing -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Pat" wrote in message ... I am having problems getting a formula to work when I have a negative number in the first cell and I subtract the second cell (a positive). It adds the number instead of subtracting them. It also happens when I have two negative numbers that I am trying to subtract. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you must?? then incorporate ABS into your formula
-- Don Guillett SalesAid Software "Pat" wrote in message ... I am having problems getting a formula to work when I have a negative number in the first cell and I subtract the second cell (a positive). It adds the number instead of subtracting them. It also happens when I have two negative numbers that I am trying to subtract. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
subtracting a constant number to all cells in the same column | Excel Discussion (Misc queries) | |||
2003= negative number&2004= negative number How Do I Calculate gro | Excel Worksheet Functions | |||
Subtracting Negative Numbers | Excel Worksheet Functions | |||
How do I replace a negative number at the end of a formula with a. | Excel Discussion (Misc queries) | |||
Subtracting based on number of miles | Excel Discussion (Misc queries) |