PC Review


Reply
Thread Tools Rate Thread

Column sum incorrect upon subtracting

 
 
Drew
Guest
Posts: n/a
 
      23rd Nov 2009
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 With Quote
 
 
 
 
Sean Timmons
Guest
Posts: n/a
 
      23rd Nov 2009
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!!

 
Reply With Quote
 
JLatham
Guest
Posts: n/a
 
      23rd Nov 2009
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!!

 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      23rd Nov 2009
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" <(E-Mail Removed)> wrote in message
news:61F4C412-364D-40B9-9CE6-(E-Mail Removed)...
>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 With Quote
 
Joe User
Guest
Posts: n/a
 
      23rd Nov 2009
"Drew" <(E-Mail Removed)> 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" <(E-Mail Removed)> wrote in message
news:61F4C412-364D-40B9-9CE6-(E-Mail Removed)...
>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 With Quote
 
Bill Sharpe
Guest
Posts: n/a
 
      23rd Nov 2009
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!!


I can see Drew banging his hand against his head and saying "Oh, Right!"

Bill
 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      24th Nov 2009
Unless the surname is Barrymore in which case she would be flashing
Letterman


Gord

On Mon, 23 Nov 2009 15:22:33 -0800, Bill Sharpe <(E-Mail Removed)>
wrote:

>I can see Drew banging his hand against his head and saying "Oh, Right!"


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Always Subtracting in a Column Bons Microsoft Outlook Discussion 2 4th Jun 2009 08:22 PM
Adding and subtracting from either column with tax or column without tax? StargateFan Microsoft Excel Discussion 3 5th Jun 2008 02:53 AM
Adding and subtracting from a column. Eddie Wall Microsoft Excel Discussion 6 12th Feb 2007 08:01 PM
Subtracting one column from another Brian Bagnall Microsoft Excel Discussion 2 23rd Nov 2005 02:19 AM
Subtracting one column from another? chris78 Microsoft Excel Worksheet Functions 0 18th Aug 2003 02:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:44 AM.