ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel formula to add then subtract (https://www.excelbanter.com/excel-programming/384644-excel-formula-add-then-subtract.html)

Dagonini

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?


merjet

Excel formula to add then subtract
 
=SUM(B112)-SUM(B106:B111) or =B112-SUM(B106:B111)

Hth,
Merjet




WLMPilot

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?



Dan R.

Excel formula to add then subtract
 
=SUM(B112)-SUM(B106:B111)

-- Dan


Gord Dibben

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?




All times are GMT +1. The time now is 04:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com