Your formula syntax may be correct, but AVERAGEIF still shows the #DIV/0! error. This usually happens because no row passes your test, or because the matching rows contain no real numbers to average. Everything on this page applies to AVERAGEIFS too.
Choose one of the causes below, then click Run to see how the formula works on the grid and why the result goes wrong.
=AVERAGEIF(C1:C6, ">200")Loading the interactive example…