=AVERAGEIFS(Students!$N:$N, Students!$J:$J, 1, Students!$F:$F, A3)
I get diverror. I have been reading to put code to prevent it but a1/a2 doesn't work. I am not that great at excel. The code is right but I get the error.
Sincerely,
Damon
=AVERAGEIFS(Students!$N:$N, Students!$J:$J, 1, Students!$F:$F, A3)
I get diverror. I have been reading to put code to prevent it but a1/a2 doesn't work. I am not that great at excel. The code is right but I get the error.
Sincerely,
Damon
Last edited by damonjasso; 09-15-2015 at 02:49 PM.
the syntax of averageifs is:
average area, criterium, average area, criterium
you have to many arguments in your formula.
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
Not quite, it's more like
AVERAGEIFS(NumbersToAverage, CriteriaRange, Criteria, CriteriaRange, Criteria)
OP's syntax is correct.
Div/0 errors in an average formula happen when there are no numbers to average.
Could be caused by none of the rows meeting both criteria
OR
The numbers in column N are not really numbers.
Can you post a sample book?
Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and use the paperclip icon to open the upload window.
View Pic
Glad you showed the correct syntax to the OP, (and to me) jonmo1Please Login or Register to view this content.
Last edited by oeldere; 09-15-2015 at 02:31 PM. Reason: and to me (added)
Ok, I see the attatchment
So the formula is working as intended, but you want to hide the Errors when the criteria are not met.
You can use IFERROR for that
=IFERROR(AVERAGEIFS(Students!$N:$N, Students!$J:$J, 1, Students!$F:$F, A3),"")
You are my hero!
Glad to help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks