Thread: AVERAGEIF
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips[_4_] Bob Phillips[_4_] is offline
external usenet poster
 
Posts: 834
Default AVERAGEIF

Use AVERAGEIFS

=AVERAGEIFS(B1:B9,A1:A9,"MEXICO",B1:B9,"0")

--

HTH

Bob

"Sasikiran" wrote in message
...
Dear,

I am struggling with AVERAGEIF formula which calculates the average of
data
of one location without including 0 values.

In the below example, would require a formula to calculate the average of
the data which corresponds for MEXICO excluding 0 values.

A1 B1
MEXICO 5
CHICAGO 89
TEXAS 10
MEXICO 0
TEXAS 45
MEXICO 15
CHICAGO 0
TEXAS 15
MEXICO 0

Please help..