Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Why Subtracting Two Negative Numbers Results in Positive Number

Hi~
I'm using Excel 2007 and ran into a problem when creating a formula that
references two cells (C8 and F8) where users will enter a negative number in
each cell. So for example, the user would enter the following numbers:

Cell C8 ------ -4424.872
Cell F8 ------- -4278.982

To subtract both numbers I created the formula: SUM(C8-F8). But the
problem is that instead of returning a negative number, the result is shown
as a positive number. I'm not sure why this happening. Could someone point
me in the right direction?

Thanks for the time and expertise!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,089
Default Why Subtracting Two Negative Numbers Results in Positive Number

Try:

=SUM(C8,F8)

or just:

=C8+F8

The SUM is actually redundant here. You're just trying to *add* two
negative numbers, not taking one away from the other.

Regards

Trevor


"Les" <Les @discussions.microsoft.com wrote in message
...
Hi~
I'm using Excel 2007 and ran into a problem when creating a formula that
references two cells (C8 and F8) where users will enter a negative number
in
each cell. So for example, the user would enter the following numbers:

Cell C8 ------ -4424.872
Cell F8 ------- -4278.982

To subtract both numbers I created the formula: SUM(C8-F8). But the
problem is that instead of returning a negative number, the result is
shown
as a positive number. I'm not sure why this happening. Could someone
point
me in the right direction?

Thanks for the time and expertise!




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Les Les is offline
external usenet poster
 
Posts: 240
Default Why Subtracting Two Negative Numbers Results in Positive Numbe

Trevor,

Thanks for the quick response. I tried both your suggestions but
unfortunately the results are not

The first example =SUM(C8,F8) returns the value of 0.00

The second example =C8+F8 returns the #VALUE syntax.

Just to clarify, the values I'm working with are -4424.80 (for C8) and
-4,419.28. So the correct answer should be -5.52. (-4424.80 - -4,419.28).
Somehow I can't get Excel to recognize the negative values even though I
formatted the cells as "Numbers" and selected the negative number format.

I appreciate the help.

Les

"Trevor Shuttleworth" wrote:

Try:

=SUM(C8,F8)

or just:

=C8+F8

The SUM is actually redundant here. You're just trying to *add* two
negative numbers, not taking one away from the other.

Regards

Trevor


"Les" <Les @discussions.microsoft.com wrote in message
...
Hi~
I'm using Excel 2007 and ran into a problem when creating a formula that
references two cells (C8 and F8) where users will enter a negative number
in
each cell. So for example, the user would enter the following numbers:

Cell C8 ------ -4424.872
Cell F8 ------- -4278.982

To subtract both numbers I created the formula: SUM(C8-F8). But the
problem is that instead of returning a negative number, the result is
shown
as a positive number. I'm not sure why this happening. Could someone
point
me in the right direction?

Thanks for the time and expertise!





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,089
Default Why Subtracting Two Negative Numbers Results in Positive Numbe

Les

if the answer you are looking for is -5.52 then the formula should be:

=C8-C9

The fact that you are seeing 0 in the SUM option implies that the numbers
are not actually numbers but text that looks like numbers. Are they left
aligned or right aligned in the cells ? If they're left aligned, the
chances are they're text masquerading as numbers.

=C8-C9 should force a numeric evaluation anyway. If it doesn't, format the
cells as General or number and re-enter the values ... that should prove the
point.

Regards

Trevor


"Les" wrote in message
...
Trevor,

Thanks for the quick response. I tried both your suggestions but
unfortunately the results are not

The first example =SUM(C8,F8) returns the value of 0.00

The second example =C8+F8 returns the #VALUE syntax.

Just to clarify, the values I'm working with are -4424.80 (for C8) and
-4,419.28. So the correct answer should be -5.52.
(-4424.80 - -4,419.28).
Somehow I can't get Excel to recognize the negative values even though I
formatted the cells as "Numbers" and selected the negative number format.

I appreciate the help.

Les

"Trevor Shuttleworth" wrote:

Try:

=SUM(C8,F8)

or just:

=C8+F8

The SUM is actually redundant here. You're just trying to *add* two
negative numbers, not taking one away from the other.

Regards

Trevor


"Les" <Les @discussions.microsoft.com wrote in message
...
Hi~
I'm using Excel 2007 and ran into a problem when creating a formula
that
references two cells (C8 and F8) where users will enter a negative
number
in
each cell. So for example, the user would enter the following numbers:

Cell C8 ------ -4424.872
Cell F8 ------- -4278.982

To subtract both numbers I created the formula: SUM(C8-F8). But the
problem is that instead of returning a negative number, the result is
shown
as a positive number. I'm not sure why this happening. Could someone
point
me in the right direction?

Thanks for the time and expertise!







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Les Les is offline
external usenet poster
 
Posts: 240
Default Why Subtracting Two Negative Numbers Results in Positive Numbe

Trevor,

Thanks for the help!

Les

"Trevor Shuttleworth" wrote:

Les

if the answer you are looking for is -5.52 then the formula should be:

=C8-C9

The fact that you are seeing 0 in the SUM option implies that the numbers
are not actually numbers but text that looks like numbers. Are they left
aligned or right aligned in the cells ? If they're left aligned, the
chances are they're text masquerading as numbers.

=C8-C9 should force a numeric evaluation anyway. If it doesn't, format the
cells as General or number and re-enter the values ... that should prove the
point.

Regards

Trevor


"Les" wrote in message
...
Trevor,

Thanks for the quick response. I tried both your suggestions but
unfortunately the results are not

The first example =SUM(C8,F8) returns the value of 0.00

The second example =C8+F8 returns the #VALUE syntax.

Just to clarify, the values I'm working with are -4424.80 (for C8) and
-4,419.28. So the correct answer should be -5.52.
(-4424.80 - -4,419.28).
Somehow I can't get Excel to recognize the negative values even though I
formatted the cells as "Numbers" and selected the negative number format.

I appreciate the help.

Les

"Trevor Shuttleworth" wrote:

Try:

=SUM(C8,F8)

or just:

=C8+F8

The SUM is actually redundant here. You're just trying to *add* two
negative numbers, not taking one away from the other.

Regards

Trevor


"Les" <Les @discussions.microsoft.com wrote in message
...
Hi~
I'm using Excel 2007 and ran into a problem when creating a formula
that
references two cells (C8 and F8) where users will enter a negative
number
in
each cell. So for example, the user would enter the following numbers:

Cell C8 ------ -4424.872
Cell F8 ------- -4278.982

To subtract both numbers I created the formula: SUM(C8-F8). But the
problem is that instead of returning a negative number, the result is
shown
as a positive number. I'm not sure why this happening. Could someone
point
me in the right direction?

Thanks for the time and expertise!










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
Excel 2002 : Convert Positive Numbers to Negative Numbers ? Mr. Low Excel Discussion (Misc queries) 2 November 6th 06 03:30 PM
change 2000 cells (negative numbers) into positive numbers lisbern Excel Worksheet Functions 2 August 16th 06 05:54 PM
convert negative numbers to positive numbers and vice versa bill gras Excel Worksheet Functions 4 December 7th 05 01:39 AM
How to add all positive and negative numbers? Knold10 Excel Worksheet Functions 1 November 19th 05 03:02 AM
Subtracting Negative Numbers Carole O Excel Worksheet Functions 2 January 4th 05 06:31 PM


All times are GMT +1. The time now is 02:54 AM.

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

About Us

"It's about Microsoft Excel"