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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -