Thread: average(if())
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default average(if())

It multiplies the TRUE/FALSE arrays returned from the conditional tests to
give an array of 1/0 which is used to determine whether the cells in the
range are included in the AVERAGE.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"neversummer" wrote in message
...
that worked like a charm! thanks a ton. if i may....
what does the * do in this situation, is it like an either/or, so if i got
crazy and wanted to continue with the conditions could i add another * ?

cheers

"Biff" wrote:

Try this: (array entered)

=AVERAGE(IF((A2:C20)*(A2:C2<1),A2:C2))

Biff

"neversummer" wrote in message
...
My data is in columns. I want to average those values that are 0<X1
only.
Tried using Average(if()) but am so far unsuccessful. Suggestions?