Averageifs formula - can you search for two different criteria in one criteria range

CLARE83

New Member
Joined
Jun 11, 2014
Messages
28
Hi,

I am working on spreadsheet in which I have a column of data (combined score) for which I need to find the average off if they match 2 different criteria's (status - A and P)in a different column.

Below is an example of the data.

Can anyone advise of the formula I keep hitting a brick wall!!!

Thanks in advance


MonthSTATUSCombined Sccore
JANN31
FEB31
MAR25
APR27
MAYA27
JUNP11
JULYP23
AUG25
SEP27
OCT25

<tbody>
</tbody>
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Data Sample -

NAME
SEX
Rep
GROUP
H
TYPE
EL
PA
DT
%
EX6
KS2 1
POINT VALUE
KS2 2
POINT VALUE
Combined
Ability
AB
M
9EL
9EL/Gg

BOS






87.7

4b

27
4b

27

27
L
BC
M
9EL
9EL/Gg

BOS

N




99.4

4b
25
4b

27

25
L
CD
M
9EL
9EL/Gg

BOS




83.7

4a
29
4a
29
29
U
DE
F
9EL
9EL/Gg

BOS





91.1

5b
33
4b
27
29
U
EF
F
9EL
9EL/Gg

BOS


Y


98.4

5b
33
5a
35
33
U
<tbody> </tbody>

Formula used - =SUMPRODUCT((('Y9 DATA'!$F$2:$F$237=" ")+('Y9 DATA'!$F$2:$F$237="N"))*'Y9 DATA'!$P$2:$P$237/SUMPRODUCT(('Y9 DATA'!$F$2:$F$237=" ")+('Y9 DATA'!$F$2:$F$237="N")))
Any ideas?
 
Upvote 0
You have a misplaced closing parenthesis there:

=SUMPRODUCT((('Y9 DATA'!$F$2:$F$237="")+('Y9 DATA'!$F$2:$F$237="N"))*'Y9 DATA'!$P$2:$P$237)/SUMPRODUCT(('Y9 DATA'!$F$2:$F$237="")+('Y9 DATA'!$F$2:$F$237="N"))
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,897
Members
449,194
Latest member
JayEggleton

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