If Blank

I apologize in advance as I know this has been asked and solved multiple times but I can't seem to figure it out.

I have totaled (sum) of numerous rows that I would like to average, and to do so I need to remove the zeros. I am struggling with the "If" formula.

Any help would be appreciated.


  • Nick Korna
    Nick Korna ✭✭✭✭✭✭

    Hi @Troy Bjelland,

    You can use the AVERAGEIF function for this.

    I can't see your column headings to give an exact formula, but it would be along the lines of:

    =AVERAGEIF([Column name]:[Column name],<>0)

    You can substitute ">0" in place of "<>0" if you prefer, as well as setting a limit on the range rather than the whole column (add the row numbers so if doing rows 1-10 it would be [Column name]1:[Column name]10 in the formula, for example).

    Hope this helps, but if you've any problems/questions, just post! 🙂

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!