Trouble with averageifs forumla

Mushroomman

New Member
Joined
Mar 8, 2014
Messages
14
Hi,

I'm trying to find the average of something based on 2 criteria.

I need to find the average weight depending on 1)house number and 2)that the value that is in the cel is not 0.

For example

I have a sheet like this below. I need to average the weights in house 1. I know I can use averageif to get the weights of house 1, but I also need it to ignore the weight if it is 0 (at a later point the 0 will be changed and I will want to include it then).

Cheers
[TABLE="width: 500"]
<tbody>[TR]
[TD]House Number[/TD]
[TD]Weight[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]55[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]80[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]55[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top