Error (#DIV/0) AVERAGEIFS formula

Solved
sara-87 Posted messages 79 Status Member -  
sara-87 Posted messages 79 Status Member -
Hello everyone,
I am looking to correct the AVERAGEIFS formula to calculate the average of a range while ignoring empty cells that result in the error (#DIV/0) in Excel 2013.
For example, attached file https://www.cjoint.com/c/GDsrlw2cYFX
Thank you in advance for your help.

2 answers

eriiic Posted messages 24581 Registration date   Status Contributor Last intervention   7 281
 
Hello,

it's not that there are empty cells, but that all of them are empty. It cannot calculate.
Put at least one value (per criterion ok), or use =iferror(your_formula,"")
eric

By continually trying, we eventually succeed.
So the more it fails, the more chances we have that it works. (the Shadoks)
In addition to thank you (yes, it does happen!!!), remember to mark it as resolved. Thank you
1
sara-87 Posted messages 79 Status Member
 
Thank you Eric for your response,
actually there are cells with values (starting from row 67 columns E and F) but the formula works well for columns C and D even if they contain empty cells, you see what I mean??
0
sara-87 Posted messages 79 Status Member > sara-87 Posted messages 79 Status Member
 
That's fine, I found the error, it was due to the criteria and not the empty cells, thank you for your effort.
0