#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF Formula Help

uWhat formula do I use to average columns, only if the values entered are
greater than zero? For instance, column one is 25, column two is 27, and
column three is 0. The answer would be 26. I want the formula to exclude
any entries unless they have a value of at least 1. AND, if there is only
one value; ie column one is 25, but two and three are both 0, then 25 would
be the answer in the final column. Example below:

Subordinate Evaluation Scores
Rating 1 Rating 2 Score
Worker 1 25 27 26 - would be the answer I want
Worker 2 25 0 25 - would be the answer
Worker 3 0 0 0 - would be the answer
Worker 4 0 0
Worker 5 0 0
Worker 6 1 2 1.5 would be the answer
Worker 7 0 0
Worker 8 0 0
Worker 9 0 0
Worker 10 0 0
Worker 11 0 0

Average of All ? - answer would add all of column 3 and average...

Thanks for any help!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default IF Formula Help

try this

=IF((A1:B1)=0,LARGE(A1:B1,1),AVERAGE(A1:B1))

array formula , after entering formula Ctrl + Shift + Enter



On Jun 12, 10:13*pm, Mrs A <Mrs wrote:
uWhat formula do I use to average columns, only if the values entered are
greater than zero? *For instance, column one is 25, column two is 27, and
column three is 0. *The answer would be 26. *I want the formula to exclude
any entries unless they have a value of at least 1. *AND, if there is only
one value; ie column one is 25, but two and three are both 0, then 25 would
be the answer in the final column. *Example below:

Subordinate Evaluation Scores * * * * * * * * *
* * * * Rating 1 * * * *Rating 2 * * * *Score
Worker 1 * * * *25 * * *27 * * *26 - would be the answer I want
Worker 2 * * * *25 * * *0 * * * 25 - would be the answer
Worker 3 * * * *0 * * * 0 * * * 0 - would be the answer
Worker 4 * * * *0 * * * 0 * * *
Worker 5 * * * *0 * * * 0 * * *
Worker 6 * * * *1 * * * 2 * * * 1.5 would be the answer
Worker 7 * * * *0 * * * 0 * * *
Worker 8 * * * *0 * * * 0 * * *
Worker 9 * * * *0 * * * 0 * * *
Worker 10 * * * 0 * * * 0 * * *
Worker 11 * * * 0 * * * 0 * * *

Average of All * * * * * ? - answer would add all of column 3 and average...

Thanks for any help! * *


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



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

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"