Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Pat Pat is offline
external usenet poster
 
Posts: 210
Default I need a formula for subtracting from a negative number

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default I need a formula for subtracting from a negative number

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default I need a formula for subtracting from a negative number

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default I need a formula for subtracting from a negative number

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
subtracting a constant number to all cells in the same column gimianame Excel Discussion (Misc queries) 2 August 11th 05 07:59 PM
2003= negative number&2004= negative number How Do I Calculate gro Jason Excel Worksheet Functions 1 January 14th 05 05:24 PM
Subtracting Negative Numbers Carole O Excel Worksheet Functions 2 January 4th 05 06:31 PM
How do I replace a negative number at the end of a formula with a. dealn2 Excel Discussion (Misc queries) 5 December 23rd 04 07:47 PM
Subtracting based on number of miles Ms Chewie Excel Discussion (Misc queries) 3 December 21st 04 05:35 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"