Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Excel formula to add then subtract

I am trying to add together a group of cells then subtract that total
from another number and put the result into a cell. My formual is:
=SUM(B112)-(B106:B111)

So what I am trying to do is take the total value of cells B106
through B111 and subtract them from the amount in cell B112. This
would then be all in B113. For some reason excel doesn't recoginize
the (b106:b111). what am I doing wrong?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Excel formula to add then subtract

=SUM(B112)-SUM(B106:B111) or =B112-SUM(B106:B111)

Hth,
Merjet



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 470
Default Excel formula to add then subtract

The formula that you have does not match what you stated you are trying to
do. Try this formula (placing it in B113):

+B112 - SUM(B106:B111)

Les



"Dagonini" wrote:

I am trying to add together a group of cells then subtract that total
from another number and put the result into a cell. My formual is:
=SUM(B112)-(B106:B111)

So what I am trying to do is take the total value of cells B106
through B111 and subtract them from the amount in cell B112. This
would then be all in B113. For some reason excel doesn't recoginize
the (b106:b111). what am I doing wrong?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Excel formula to add then subtract

=SUM(B112)-SUM(B106:B111)

-- Dan

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Excel formula to add then subtract

=B112-SUM(B106:B11)


Gord Dibben MS Excel MVP

On 6 Mar 2007 08:54:55 -0800, "Dagonini" wrote:

I am trying to add together a group of cells then subtract that total
from another number and put the result into a cell. My formual is:
=SUM(B112)-(B106:B111)

So what I am trying to do is take the total value of cells B106
through B111 and subtract them from the amount in cell B112. This
would then be all in B113. For some reason excel doesn't recoginize
the (b106:b111). what am I doing wrong?


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
formula to subtract percentage from whole Shevvie Excel Discussion (Misc queries) 2 February 18th 10 02:55 PM
add & subtract time in 1 formula Mr Chumley Excel Worksheet Functions 2 November 25th 08 11:05 PM
subtract formula kevcar40 Excel Discussion (Misc queries) 2 April 2nd 08 07:42 AM
what excel formula will perform a running subtract from one value AMcV Excel Discussion (Misc queries) 1 November 14th 06 12:13 PM
excel formula that can subtract days Gofer Excel Worksheet Functions 3 December 3rd 04 06:10 PM


All times are GMT +1. The time now is 09:34 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"