#1   Report Post  
Bea
 
Posts: n/a
Default If formula

I need to average agroup of cells but IF the total is "0" in one cell then I
do not want it to be average in.... How can I do this....
Exp. Average cells K13 - L13 = cell N23 But if ANY of the cells from K13 -
L13 = ")" I do not want them to be included in the average.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Assuming all numeric values in cells:

=SUM(A1:A10)/COUNTIF(A1:A10,"<0")

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to average agroup of cells but IF the total

is "0" in one cell then I
do not want it to be average in.... How can I do this....
Exp. Average cells K13 - L13 = cell N23 But if ANY of

the cells from K13 -
L13 = ")" I do not want them to be included in the

average.
.

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
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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