View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Hijosdelongi Hijosdelongi is offline
external usenet poster
 
Posts: 33
Default Can you AVERAGE IF and not null?

ic, but is the =AVERAGE(IF(AND( correct?

Thanks



"Dave Peterson" wrote:

You can't use the entire column for array formulas in xl2003 and below.

(Remember to use ctrl-shift-enter, too)

Hijosdelongi wrote:

Hi,

I have a question for Excel 2003

=AVERAGE(IF(AND($A2=Data!$B:$B,B$1=Data!$A:$A),Dat a!$C:$C,""))

Im trying to get the AVERAGE of this and its giving me a #VALUE! error.. $A2
is the name that is suppose to be equal in the Data! worksheet and B$1 is the
date that is suppose to be equal in the Data! worksheet. Im trying to use AND
in IF for me to have two logical test..

Can you help me with this?

Thank you so much!

"JE McGimpsey" wrote:

One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):

=AVERAGE(IF((A3:A45="Photo")*(H3:H45<""),H3:H45))

In article ,
"Spottkitty" wrote:

=AVERAGE(IF($A$3:$A$45="Photo",H3:H45))

This is the array I'm using to try to determine an average. Problem...if
the field is blank it's counting it as zero and lowering the results. It
figured 79% when it should have been 94%. 94% was returned using the simple
average formula. I'm guessing I need to nest something to not count nulls?
Help!!!


--

Dave Peterson