Excel averageifs with or function

后端 未结 3 1961
花落未央
花落未央 2021-01-13 01:46

I am using the averageifs function, and have one column where I need to calculate the average if either of the criteria are true.

I have tried using the OR function,

3条回答
  •  死守一世寂寞
    2021-01-13 01:54

    Chancea has given some good techniques I will list one more that avoids array formulas as many will find it easier to read avoiding the sumproduct.

    =(SUMIF(I1:I612,"FL",N1:N612)+SUMIF(I1:I612,"IF",N1:N612))/(COUNTIF(I1:I612,"FL")+COUNTIF(I1:I612,"IF"))
    

提交回复
热议问题