Average top 100 using two conditions

markw0411

New Member
Joined
May 31, 2017
Messages
2
I have a set of data and I need to take the average of the top 100 values that meet two conditions. I am know I can use averageifs to find average based on multiple conditions and I can use average(large,row()) to find top 100. But how do I combine??
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hello,

the "Autofilter" offers a top-n, with "visible Cells" or =aggregate() the average can be calculated

regards
 
Upvote 0
I apologize I do not understand where you are going with your recommendation. Attached is a portion of my data to better describe what I need to accomplish. Obviously there is a easy way to do this manual, but I am looking to automate as this is a big data set that is updated with new data monthly.

I need to average top 100 that have month = January and Site Status = Production

MonthSite StatusUnit AUnit BUnit CAverage Top 100
JanProduction126717653568UnitJanFeb
JanProduction128217413552Unit A
JanProduction136217273543Unit B
JanProduction140517393544Unit C

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,216,581
Messages
6,131,546
Members
449,654
Latest member
andz

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