Google Sheets using AVERAGEIF with specific cells

I am trying to get the average of percentages in every other cell, excluding those cells with a 0. I tried this formula.


I get this error. “Wrong number of arguments to AVERAGEIF. Expected between 2 and 3 arguments, but got 21 arguments.”

What am I doing wrong? Thank you for your help!