Average if cell and and adjacent cell are not NA (Excel) -


i trying calculate average value if rows in 2 columns not na. aid me in calculating average weight of fish. here example data:

country,fish weight,fish number belgium,264.5,na channel islands,na,na england,625,281000 netherlands,737,690000 france,189.5,na 

in example, average function create average of england , netherlands weights not include belgium , france's weights number of fish not known.

i tried doing 'averageifs' statement can includes data.

=averageifs(weights,weights,"<>0", numbers,"<>0") 

na not same 0, therefore formula see cells different 0 , take them account. change criteria "<>na"


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -