#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 471
Default Finding the Average

I want to average an entire row, but there are cells with the value of zero.
I only want to average the cells that have a value greater than zero. The
problem is this. I don't want to clear out the cells with the value of zero
because they are programmed with formulas. I need the average to continue to
modify when these cells value are greater than zero.
--
Mike H.
Data Review Specialist
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Finding the Average

hi
=SUM(A1:F1)/COUNTIF(A1:F1,"0")

Adjust to fit your data.

Regards
FSt1

"Mike H." wrote:

I want to average an entire row, but there are cells with the value of zero.
I only want to average the cells that have a value greater than zero. The
problem is this. I don't want to clear out the cells with the value of zero
because they are programmed with formulas. I need the average to continue to
modify when these cells value are greater than zero.
--
Mike H.
Data Review Specialist

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Finding the Average

=AVERAGE(IF(1:10,1:1))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Mike H." wrote in message
...
I want to average an entire row, but there are cells with the value of
zero.
I only want to average the cells that have a value greater than zero. The
problem is this. I don't want to clear out the cells with the value of
zero
because they are programmed with formulas. I need the average to continue
to
modify when these cells value are greater than zero.
--
Mike H.
Data Review Specialist



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Finding the Average

You can create your own average

=SUMIF(4:4,"0")/COUNTIF(4:4,"0")

"Mike H." wrote:

I want to average an entire row, but there are cells with the value of zero.
I only want to average the cells that have a value greater than zero. The
problem is this. I don't want to clear out the cells with the value of zero
because they are programmed with formulas. I need the average to continue to
modify when these cells value are greater than zero.
--
Mike H.
Data Review Specialist

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default Finding the Average

On Mar 3, 12:33*pm, "Bob Phillips" wrote:
=AVERAGE(IF(1:10,1:1))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Mike H." wrote in message

...



I want to average an entire row, but there are cells with the value of
zero.
I only want to average the cells that have a value greater than zero. The
problem is this. I don't want to clear out the cells with the value of
zero
because they are programmed with formulas. I need the average to continue
to
modify when these cells value are greater than zero.
--
Mike H.
Data Review Specialist- Hide quoted text -


- Show quoted text -


If you're using XL 07, you can use the AVERAGEIF function and avoid
having to use an array formula.

Dave
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
Finding an average of a list that could have 0 to 10 numbers in it Shu of AZ Excel Discussion (Misc queries) 3 January 19th 08 01:55 AM
Finding Average with Criteria Mike R. Excel Worksheet Functions 4 September 17th 07 06:50 AM
I need help finding an average JHL Excel Discussion (Misc queries) 3 June 9th 07 07:59 PM
Finding a count above average Don Excel Worksheet Functions 1 March 30th 07 10:47 PM
Finding the average time Gadgets Excel Worksheet Functions 5 July 31st 06 09:06 PM


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