Conditional Average

ks1987

New Member
Joined
Aug 8, 2012
Messages
24
Hi All,

I am trying to calculate average for values in a range of data that fulfill a certain condition viz. >1000 & <=5000.

I am aware that the Averageif function can do the job, however I was unable to figure how to apply it in this particular case.

Any help on this is appreciated.

Thanks,
ks1987
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi,

Thanks for this. I am looking for a particular application of this function, where I need to find the averag between the ranges.

As you would notice in the page it does solve a similar problem viz. =AVERAGEIF(B2:B5,"<23000")

However it is silent in case where, say, one wants to calculate average between 23000 and 30000
 
Upvote 0
Works. Thanks.

Syntax:
AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)

Example:

=AVERAGEIFS(Table14[Amount],Table14[Amount],">1000",Table14[Amount],"<=5000")
in case of tables

=AVERAGEIFS(B2:B5, B2:B5, ">70", B2:B5, "<90")
In case of "normal" range
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

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