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")


abcdefgHIJKLMNOPQR
1NameJohnJacobJill 1234567
227/190%87%100%John
337/260%60%Jacob
447/330%77%100%Jill
557/473%
667/587%
777/676%76%
817/793%98%100%
927/8100%100%12%
1037/90%
67%73%
1147/10%0%

<tbody>
</tbody>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
1. The AVERAGEIFS function needs to have an odd number of arguments. First, the range you wish to average. Then pairs of ranges to check and their conditions. You have 6 arguments.
See: https://www.techonthenet.com/excel/formulas/averageifs.php

2. There should be a comma before the word "CHECK" in your formula.
 
Upvote 0
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
12JohnJacobJill
13193%93%93%
14290%
1530%
16415%
175#DIV/0!
18687%
19776%

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</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,214,659
Messages
6,120,784
Members
448,992
Latest member
prabhuk279

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