Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Adding only NONBLANK cells

I need to add several rows of numbers, say A1:A10 and B1:B10, etc... I need
it to add all NONBLANK cells and display the result in cell A11, B11, etc...-
including those that have a zero in a cell rather than just a blank cell.

The trouble I am having is in those rows that have all BLANK cells, still
shows the sum of that row as zero, when actually it should be blank as there
are no entries.

In the rows where there are no numbers higher than a zero, but there is at
least one zero, the sum of that row SHOULD show zero.

Any ideas??

thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Adding only NONBLANK cells

Try

=IF(COUNT(A1:A10)0,SUM(A1:A10),"")


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Troubled" wrote in message
...
I need to add several rows of numbers, say A1:A10 and B1:B10, etc... I
need
it to add all NONBLANK cells and display the result in cell A11, B11,
etc...-
including those that have a zero in a cell rather than just a blank cell.

The trouble I am having is in those rows that have all BLANK cells, still
shows the sum of that row as zero, when actually it should be blank as
there
are no entries.

In the rows where there are no numbers higher than a zero, but there is at
least one zero, the sum of that row SHOULD show zero.

Any ideas??

thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Adding only NONBLANK cells

That's it! Thanks!

"Chip Pearson" wrote:

Try

=IF(COUNT(A1:A10)0,SUM(A1:A10),"")


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Troubled" wrote in message
...
I need to add several rows of numbers, say A1:A10 and B1:B10, etc... I
need
it to add all NONBLANK cells and display the result in cell A11, B11,
etc...-
including those that have a zero in a cell rather than just a blank cell.

The trouble I am having is in those rows that have all BLANK cells, still
shows the sum of that row as zero, when actually it should be blank as
there
are no entries.

In the rows where there are no numbers higher than a zero, but there is at
least one zero, the sum of that row SHOULD show zero.

Any ideas??

thanks


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
tally of nonblank cells AustinMom Excel Worksheet Functions 3 August 31st 06 09:00 PM
Display first, second, etc Nonblank Cells in a Range Jeremy N. Excel Worksheet Functions 12 September 25th 05 01:47 PM
counting nonblank cells sbrimley Excel Worksheet Functions 7 May 18th 05 10:22 AM
Excel cannot shift nonblank cells Mr. Maz. Excel Discussion (Misc queries) 2 March 17th 05 11:10 PM
Adding NonBlank Cells Emily8 Excel Worksheet Functions 3 January 4th 05 06:16 PM


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