Excel - Averege value in column when cells contains certain text but average without zeros -


i'm trying average row of number when cell in same row contains text "mobile" formula =averageif(a:a,"*mobile",b:b) don't value because zeros in column b.

[column - website]
blic - computer
blic - mobile
b92 - computer
b92 - mobile
politika - computer
politika - mobile

[column b - cost]
$5.00
0
0
$13.00
$20.00
$17.00

average - computer $8.33
average - mobile $10.00
average - total $9.17

how exclude zeros?

thanks,

instead of =averageif() use more powerful =averageifs() can add more criteria:

=averageifs(b:b, a:a,"*mobile",b:b, "<>0") 

Comments

  1. Hello Admin,

    It is possible to pass disputes to limits by reference. This infers a reference to the variable is constrained by the limit instead of a copy of the variable's worth.

    Regards,
    Thanks

    RITU

    ReplyDelete

Post a Comment

Popular posts from this blog

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

java - Reading data from multiple zip files and combining them to one -