PC Review


Reply
Thread Tools Rate Thread

=AVERAGE(b7:b20) is counting fiels that are zero

 
 
outrigger
Guest
Posts: n/a
 
      20th Oct 2009
I brought cell information from worksheet B into worksheet A, by typing = in
a cell and then clicking on cell in worksheet B and hitting enter. Data in
that cell is empty. So excell placed a "0" in the final cell. When I average
the column it of course adds the zero's. I don't want it to do that, only
the numbers gtreater that '0". How do I get this accomplished?
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      20th Oct 2009
Instead of something like:
=Sheet1!A1
use:
=if(Sheet1!A1="","",Sheet1!A1)
--
Gary''s Student - gsnu200908


"outrigger" wrote:

> I brought cell information from worksheet B into worksheet A, by typing = in
> a cell and then clicking on cell in worksheet B and hitting enter. Data in
> that cell is empty. So excell placed a "0" in the final cell. When I average
> the column it of course adds the zero's. I don't want it to do that, only
> the numbers gtreater that '0". How do I get this accomplished?

 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      20th Oct 2009
either modify the orginal formulas to
=IF(Sheet1!A1="","",Sheet1!A1)

OR average to be modified to as below
=SUMIF(b7:b20,">0")/COUNTIF(b7:b20,">0")

or
'array entered (ctrl+Shift+Enter)
=AVERAGE(IF(b7:B20>0,B7:B20))


If this post helps click Yes
---------------
Jacob Skaria


"outrigger" wrote:

> I brought cell information from worksheet B into worksheet A, by typing = in
> a cell and then clicking on cell in worksheet B and hitting enter. Data in
> that cell is empty. So excell placed a "0" in the final cell. When I average
> the column it of course adds the zero's. I don't want it to do that, only
> the numbers gtreater that '0". How do I get this accomplished?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to average random cells with out counting zero? Alex Microsoft Excel Worksheet Functions 1 30th Apr 2009 06:16 PM
Counting Months to get an Average LinLin Microsoft Excel Worksheet Functions 3 6th Jan 2009 11:08 PM
Average of a row of numbers not counting 0's BobS9895 Microsoft Excel Worksheet Functions 3 19th Jul 2006 06:25 PM
How do I use an average function, not counting cells containing a =?Utf-8?B?UnlkZXI=?= Microsoft Excel Worksheet Functions 2 16th Mar 2005 12:05 PM
Counting down an average Maddoktor Microsoft Excel Discussion 1 23rd Feb 2005 12:22 PM


Features
 

Advertising
 

Newsgroups
 


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