Averageifs comparing to other Multiple Averageifs formulas already completed

styx_87

New Member
Joined
Feb 22, 2018
Messages
3
Hi there,

I will try to make my question as simple as possible.

I have a spreadsheet with lots of Averageifs formulas that are already working properly. Now All those Averageifs Formulas reflect multiple criteria that need to be met for each.

My problem:
I want to Average all the records that are not included in the other 4 Averageifs calculations. Is that possible? Or how could i do it?

Sorry if it gets confusing.

-Styx_87
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Welcome to the Forum!

The product of an AverageIfs and the equivalent Countifs will tell you the total scores included.

So provided your criteria don't overlap, you can do it like this:

A12: =COUNT(A2:A11)
B12: =SUM(B2:B11)
E4: =AVERAGEIFS($B$2:$B$11,$A$2:$A$11,2,$B$2:$B$11,">=7")
F4: =COUNTIFS($A$2:$A$11,2,$B$2:$B$11,">=7")
E8: =(B12-SUMPRODUCT(E4:E5,F4:F5))/(A12-F6)

I'd only use this if I was sure there was no overlap, otherwise you'll get an incorrect answer with no indication that anything is wrong.


Book1
ABCDEF
1IDScore
211
322CriteriaAverageIfCountif
433ID=2, >=78.5002
514ID = 1, <=63.6673
6355
716
817Average5.400
928
1029
11110
121055
Sheet1
 
Last edited:
Upvote 0
Welcome to the Forum!

The product of an AverageIfs and the equivalent Countifs will tell you the total scores included.

So provided your criteria don't overlap, you can do it like this:

A12: =COUNT(A2:A11)
B12: =SUM(B2:B11)
E4: =AVERAGEIFS($B$2:$B$11,$A$2:$A$11,2,$B$2:$B$11,">=7")
F4: =COUNTIFS($A$2:$A$11,2,$B$2:$B$11,">=7")
E8: =(B12-SUMPRODUCT(E4:E5,F4:F5))/(A12-F6)

I'd only use this if I was sure there was no overlap, otherwise you'll get an incorrect answer with no indication that anything is wrong.


Book1
ABCDEF
1IDScore
211
322CriteriaAverageIfCountif
433ID=2, >=78.5002
514ID = 1, <=63.6673
6355
716
817Average5.400
928
1029
11110
121055
Sheet1

Thank you for your quick reply! What I am trying to do is:

So far I have created the AverageIFS for the following Criteria:
CAA>=78 and <80 and SAT >1150
CAA>=80 and SAT>=1150
CAA>=83 and SAT 950-1140
CAA>=85 and SAT 920-940

What I am trying to find is if there is a formula I can find the average for all the other records that do not meet the above unique criteria.

Thanks,

Styx_87
 
Upvote 0
OK, so your criteria don't overlap, i.e. it's impossible for any result to be included in two or more of these averages.

Therefore my method will work. Can you adapt it to your layout?

You'll need to start by creating AVERAGIFS() for each of your four criteria.
 
Upvote 0
Thanks for all your help. I was able to find the remaining Averages that were missing and I got the correct counts for the remaining unique records.

-Styx_87
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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