Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default SUM function doesn't calculate with blank cells

the SUM function doesn't calculate if there are any blank cells in the array.

example: if i put in- sum(a1:a5) in cell a6, the return = "0". if i put in
value 1 in a1, the return is still "0"!

what's going on?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default SUM function doesn't calculate with blank cells

Press F9 to force Excel to recalculate.
--
Brevity is the soul of wit.


"aaron" wrote:

the SUM function doesn't calculate if there are any blank cells in the array.

example: if i put in- sum(a1:a5) in cell a6, the return = "0". if i put in
value 1 in a1, the return is still "0"!

what's going on?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default SUM function doesn't calculate with blank cells

Does the work CALCULATE appear on the status bar in the lower left hand
corner of the Excel window? If yes, press F9 to recalc your worksheet. To
turn calculation back to automatic, click TOOLS, select OPTIONS and click the
CALCULATION tab. Click the AUTOMATIC option button to reset it from manual
to auto.
--
Kevin Backmann


"aaron" wrote:

the SUM function doesn't calculate if there are any blank cells in the array.

example: if i put in- sum(a1:a5) in cell a6, the return = "0". if i put in
value 1 in a1, the return is still "0"!

what's going on?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default SUM function doesn't calculate with blank cells

Does the range A1:A5 contain numeric data? =SUM() only works on numbers, not
on text that looks like numbers. Try entering a simple formula in cell A1,
like "=1" (without the quotes). If the equals sign still shows after pressing
enter the cell is formatted as text.

If that is the case select the range A1:A5 (or perhaps the whole column
while you're at it) and select a numeric format for the range. You will still
have to re-enter the data though, since changing the format does not change
the data type.

Hope that helps,

TK

"aaron" wrote:

the SUM function doesn't calculate if there are any blank cells in the array.

example: if i put in- sum(a1:a5) in cell a6, the return = "0". if i put in
value 1 in a1, the return is still "0"!

what's going on?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default SUM function doesn't calculate with blank cells

Another thought.

Could A1 to A5 be formatted as text?

Try this in A7:
=A1+A2+A3+A4+A5
And see if you get a result.

Sum() will not add text values.

Reformat the cells to General or Number, and re-enter the values.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"aaron" wrote in message
...
the SUM function doesn't calculate if there are any blank cells in the
array.

example: if i put in- sum(a1:a5) in cell a6, the return = "0". if i put in
value 1 in a1, the return is still "0"!

what's going on?




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default SUM function doesn't calculate with blank cells

You have lots of answers at your other thread.

aaron wrote:

the SUM function doesn't calculate if there are any blank cells in the array.

example: if i put in- sum(a1:a5) in cell a6, the return = "0". if i put in
value 1 in a1, the return is still "0"!

what's going on?


--

Dave Peterson
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
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Sumif Cells Are Not Blank Powlaz Excel Worksheet Functions 12 March 15th 06 04:40 PM
Generating truly blank cells Nat Excel Worksheet Functions 4 September 30th 05 11:39 PM
Blank Cells in Pivot Tables Greg Excel Discussion (Misc queries) 1 March 16th 05 09:23 PM
Skipping Blank Or Null Cells In a Lookup Function Bill Johnson Excel Worksheet Functions 8 December 24th 04 01:06 AM


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

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"