Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default multipule calculations in a single column

Trying to total sum a range of cells in a column and subtract from a total in
another cell in the same column, getting a value error

ex sum cell a10 to a20 then subtract from the number in a5
excel 2007
--
Max
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default multipule calculations in a single column

Hi there.
You may want to try:

=SUM(A10:A20)-IF(ISNUMBER(A5),A5,0)

Anyway, you should be sure that the value in A5 IS a number and not a
string/text that 'SEEMS' to be a number. Tip: text/string are left aligned by
default.

Regards,
Otávio

"mexmex" wrote:

Trying to total sum a range of cells in a column and subtract from a total in
another cell in the same column, getting a value error

ex sum cell a10 to a20 then subtract from the number in a5
excel 2007
--
Max

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default multipule calculations in a single column

Shouldnt be the other way around ?
=VALUE(A5)-SUM(A10:A20)

Is your sum() returning an error? Then check whether any of the cells in the
sum range is having error. If all are positive try =SUMIF(A10:A20,"0")

or if both try (array entered)
=SUM(IF(ISNUMBER(A10:A20),A10:A20))

or

=SUMIF(A10:A20,"0")+SUMIF(A10:A20,"<0")


"Otávio Alves Ribeiro" wrote:

Hi there.
You may want to try:

=SUM(A10:A20)-IF(ISNUMBER(A5),A5,0)

Anyway, you should be sure that the value in A5 IS a number and not a
string/text that 'SEEMS' to be a number. Tip: text/string are left aligned by
default.

Regards,
Otávio

"mexmex" wrote:

Trying to total sum a range of cells in a column and subtract from a total in
another cell in the same column, getting a value error

ex sum cell a10 to a20 then subtract from the number in a5
excel 2007
--
Max

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
Multipule vlookups The Rook[_2_] Excel Discussion (Misc queries) 1 September 3rd 07 11:34 AM
From single cell variables to a single column serie noyau New Users to Excel 1 December 22nd 06 06:43 AM
Copy column range of "single word" cells with spaces to a single c nastech Excel Discussion (Misc queries) 3 February 15th 06 05:04 PM
Linking data to a single cell for calculations lueker_10 Excel Discussion (Misc queries) 2 February 12th 06 12:18 AM
Return Single Row of Numeric Data to Single Column Sam via OfficeKB.com Excel Worksheet Functions 4 December 17th 05 12:31 AM


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

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

About Us

"It's about Microsoft Excel"