weekdaty Average IFs formula

Sparda142

Board Regular
Joined
Dec 19, 2018
Messages
52
Hello,

I'm having trouble with the formula below, Im getting "Too few arguments" . Where am i going wrong with the formula below?


CELL H2 FORMULA =IFERROR(AVERAGEIFS(C2:C11,"<>100%", C1:E1,G2,A2:A11,H1)"CHECK")


[TABLE="class: grid, width: 125"]
<tbody>[TR]
[TD][/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[TD]g[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD]O[/TD]
[TD]P[/TD]
[TD]Q[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Name[/TD]
[TD]John[/TD]
[TD]Jacob[/TD]
[TD]Jill [/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]7/1[/TD]
[TD]90%[/TD]
[TD]87%[/TD]
[TD]100%[/TD]
[TD][/TD]
[TD]John[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]3[/TD]
[TD]7/2[/TD]
[TD][/TD]
[TD]60%[/TD]
[TD]60%[/TD]
[TD][/TD]
[TD]Jacob[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/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[TD]100%[/TD]
[TD]12%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]3[/TD]
[TD]7/9[/TD]
[TD]0%
[/TD]
[TD]67%[/TD]
[TD]73%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]4[/TD]
[TD]7/1[/TD]
[TD][/TD]
[TD]0%[/TD]
[TD]0%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
correct as long as the number isn't 100%
what about the blanks?
For instance C3? Should that be 0%? because the formula will skip including it in the average

Also, would you be able to set it up like this? (it will make it one formula instead of 3 formulas)



Excel 2010
GHIJ
12JohnJacobJill
13193%93%93%
14290%
1530%
16415%
175#DIV/0!
18687%
19776%
Sheet6
 
Last edited:
Upvote 0
what about the blanks?
For instance C3? Should that be 0%? because the formula will skip including it in the average

Also, would you be able to set it up like this? (it will make it one formula instead of 3 formulas)


Excel 2010
GHIJ
JohnJacobJill

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]12[/TD]
[TD="align: right"][/TD]

[TD="align: center"]13[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]93%[/TD]
[TD="align: right"]93%[/TD]
[TD="align: right"]93%[/TD]

[TD="align: center"]14[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]90%[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]15[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0%[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]16[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]15%[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]17[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]#DIV/0![/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]18[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]87%[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]19[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]76%[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

</tbody>
Sheet6


I want the formula to skip blanks in the average. Can you be more specific with "like this?" did you mean you wanted to fill in blanks with 100% or 0%?
 
Upvote 0
Meaning can you set up your secondary table like this(Vertically instead of horizontal-transposed)? because then you can just use 1 formula and always drag it down and over, rather than having 3 formulas


Excel 2010
ABCDEFGHIJK
1NameJohnJacobJillJohnJacobJill
221-Jul90%87%100%193%98%CHECK
332-Jul60%60%290%87%12%
443-Jul30%77%100%30%64%67%
554-Jul73%430%39%0%
665-Jul87%5CHECKCHECK73%
776-Jul76%76%687%CHECKCHECK
817-Jul93%98%100%776%76%CHECK
928-Jul100%100%12%
1039-Jul0%67%73%
1141-Jul0%0%
Sheet6
Cell Formulas
RangeFormula
H2=IFERROR(AVERAGEIFS(C$2:C$11,$A$2:$A$11,$G2,C$2:C$11,"<>100%"),"CHECK")
I2=IFERROR(AVERAGEIFS(D$2:D$11,$A$2:$A$11,$G2,D$2:D$11,"<>100%"),"CHECK")
J2=IFERROR(AVERAGEIFS(E$2:E$11,$A$2:$A$11,$G2,E$2:E$11,"<>100%"),"CHECK")
 
Last edited:
Upvote 0
If you need to keep it the same you can use these 3 formulas and just drag them to the right

Excel 2010
GH
2John93%
3Jacob98%
4JillCheck
Sheet6
Cell Formulas
RangeFormula
H2=IFERROR(AVERAGEIFS($C$2:$C$11,$A$2:$A$11,H$1,$C$2:$C$11,"<>100%"),"Check")
H3=IFERROR(AVERAGEIFS($D$2:$D$11,$A$2:$A$11,H$1,$D$2:$D$11,"<>100%"),"Check")
H4=IFERROR(AVERAGEIFS($E$2:$E$11,$A$2:$A$11,H$1,$E$2:$E$11,"<>100%"),"Check")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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