AverageIf/And combo?

hallingh

Well-known Member
Joined
Sep 11, 2010
Messages
769
Hi all. I don't think this is that tough of an issue, but I can't figure out how to make this work. What I want is for a cell to Average the values in K18:K2000 if the corresponding cell in H18:H2000 = "Average" AND the corresponding cell in I18:I2000 = "Q3 2011"

I have it working with just the I18:I2000 criteria by using a simple AverageIf formula:

Code:
=AVERAGEIF('Data Archive'!I18:I2007,"Q3 2011", 'Data Archive'!K18:K2007)

But I can't figure out how to factor in the other criteria. Any help you can give me is greatly appreciated.

Thanks!

Hank
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hi Hank,

Have a look at the AVERAGEIFS function.

This would appear to fit what you need.

Matty
 
Upvote 0
If you have AVERAGEIF(), then you also have the AVERAGEIFS() function.
 
Last edited:
Upvote 0
Could you use the AVERAGEIFS function? Lets you supply multiple criteria to average on. It's only available in Excel 2007 but your signature says you have it so...

See the link below for how to use it properly:
Using AVERAGEIFS
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,749
Members
452,940
Latest member
rootytrip

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