Average with Certain Criteria in column

trainer75

New Member
Joined
Jun 11, 2015
Messages
33
Hi,

wonder if anyone can assist, I am trying to work out an average from multiple criteria that is in the same column.

I have criteria in column F and ratings from these in column H, but from the criteria I don't want to include certain elements.

I have made a range list of the elements and called it Elements

the formula I am using is
=averageifs(F:F,H:H,Elements)

from this, the formula is only picking up one of the elements

What I would like is IF column F has criteria in my list, then average the numbers in column H

Any help would be appreciated
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Try
Code:
=SUMPRODUCT(SUMIF(F:F,[COLOR=#333333]Elements[/COLOR],H:H))/SUMPRODUCT(COUNTIF(F:F,[COLOR=#333333]Elements[/COLOR]))
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,412
Members
448,959
Latest member
camelliaCase

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