Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Column sum incorrect upon subtracting

I have a column with numbers that is totaled at the bottom. The Auto Sum
formula correctly adds all the cells. I tried to make two of the cells
negative so that they would be subtracted. But, the cell amount is being
doubled before it is subtracted from the total. So, if the cell amount is 50,
for some reason 100 is being subtracted. I have all cells formatted as
numbers, not general or text, and have checked for hidden formulas (there are
none). Here is my example to show what is happening:
=SUM(B2:B6)
where
B2 = 5
B3 = 5
B4 = 10
B5 = 15
B6 = 15

My total is correct at 50. But if I try to make B3 -5 and B4 -10, it is
doubling each cell amount before it's subtracting, so it's subtracting 30
instead of 15. PLEASE HELP!! Thank you!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Column sum incorrect upon subtracting

Just making sure here... changing those cels means you end up with 20. What
result are you getting?

"Drew" wrote:

I have a column with numbers that is totaled at the bottom. The Auto Sum
formula correctly adds all the cells. I tried to make two of the cells
negative so that they would be subtracted. But, the cell amount is being
doubled before it is subtracted from the total. So, if the cell amount is 50,
for some reason 100 is being subtracted. I have all cells formatted as
numbers, not general or text, and have checked for hidden formulas (there are
none). Here is my example to show what is happening:
=SUM(B2:B6)
where
B2 = 5
B3 = 5
B4 = 10
B5 = 15
B6 = 15

My total is correct at 50. But if I try to make B3 -5 and B4 -10, it is
doubling each cell amount before it's subtracting, so it's subtracting 30
instead of 15. PLEASE HELP!! Thank you!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Column sum incorrect upon subtracting

Your result of 20 is correct.

The "delta" or amount of change from a +5 to -5 is 10, and delta from +10 to
-10 is 20, so that's a total delta of 30, and 50-30 = 20.

The OP is thinking that the total should only be reduced by -5 + -10, or 15
(I think) and is expecting a result of 35.

To get that result, B3 and B4 need to both be zero, for a delta of -15.

"Sean Timmons" wrote:

Just making sure here... changing those cels means you end up with 20. What
result are you getting?

"Drew" wrote:

I have a column with numbers that is totaled at the bottom. The Auto Sum
formula correctly adds all the cells. I tried to make two of the cells
negative so that they would be subtracted. But, the cell amount is being
doubled before it is subtracted from the total. So, if the cell amount is 50,
for some reason 100 is being subtracted. I have all cells formatted as
numbers, not general or text, and have checked for hidden formulas (there are
none). Here is my example to show what is happening:
=SUM(B2:B6)
where
B2 = 5
B3 = 5
B4 = 10
B5 = 15
B6 = 15

My total is correct at 50. But if I try to make B3 -5 and B4 -10, it is
doubling each cell amount before it's subtracting, so it's subtracting 30
instead of 15. PLEASE HELP!! Thank you!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default Column sum incorrect upon subtracting

5+5+10+15+15 = 50

5-5-10+15+15 = 20


So what you have is


5+15+15 =35

then

-5-10=-15


35-15=20







--


Regards,


Peo Sjoblom


"Drew" wrote in message
...
I have a column with numbers that is totaled at the bottom. The Auto Sum
formula correctly adds all the cells. I tried to make two of the cells
negative so that they would be subtracted. But, the cell amount is being
doubled before it is subtracted from the total. So, if the cell amount is
50,
for some reason 100 is being subtracted. I have all cells formatted as
numbers, not general or text, and have checked for hidden formulas (there
are
none). Here is my example to show what is happening:
=SUM(B2:B6)
where
B2 = 5
B3 = 5
B4 = 10
B5 = 15
B6 = 15

My total is correct at 50. But if I try to make B3 -5 and B4 -10, it is
doubling each cell amount before it's subtracting, so it's subtracting 30
instead of 15. PLEASE HELP!! Thank you!!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default Column sum incorrect upon subtracting

"Drew" wrote:
My total is correct at 50. But if I try to make B3 -5 and B4 -10, it is
doubling each cell amount before it's subtracting, so it's subtracting
30 instead of 15.


"Subtracting 30 instead of 15" from what?

I suspect you are saying that when you change B3 to -5 and B4 to -10, the
sum becomes 20 -- which is correct, by the way.

I think you are misinterpreting that as 50 - 30, and you are incorrectly
expecting 50 - 15, i.e. 50 - 5 - 10.

With the change, the sum is 5 + (-5) + (-10) + 15 + 15, which can be written
5 - 5 - 10 + 15 + 15. Noting that the middle -15 + 15 is zero, the
remaining sum is 5 + 15, which is 20.


----- original message -----

"Drew" wrote in message
...
I have a column with numbers that is totaled at the bottom. The Auto Sum
formula correctly adds all the cells. I tried to make two of the cells
negative so that they would be subtracted. But, the cell amount is being
doubled before it is subtracted from the total. So, if the cell amount is
50,
for some reason 100 is being subtracted. I have all cells formatted as
numbers, not general or text, and have checked for hidden formulas (there
are
none). Here is my example to show what is happening:
=SUM(B2:B6)
where
B2 = 5
B3 = 5
B4 = 10
B5 = 15
B6 = 15

My total is correct at 50. But if I try to make B3 -5 and B4 -10, it is
doubling each cell amount before it's subtracting, so it's subtracting 30
instead of 15. PLEASE HELP!! Thank you!!


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 figures in a column Ron O'Brien New Users to Excel 4 October 8th 09 02:09 PM
Adding or subtracting numbers from a column Richard[_4_] Excel Discussion (Misc queries) 2 January 28th 08 12:41 PM
Subtracting two Subtotals in the same column David T Excel Discussion (Misc queries) 3 August 30th 06 08:26 PM
Incorrect Data Labels on Column Chart SM Charts and Charting in Excel 0 June 7th 06 04:39 PM
Excel column sumif is incorrect Joseph Peralta Excel Discussion (Misc queries) 5 May 25th 06 06:39 PM


All times are GMT +1. The time now is 06:27 PM.

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"