I have a dataset and sometimes there is no value that can be registered so the cell is blank:

But in normal circumstances I want to average these datas.

But when the cells are blank I get a #div/o! error.

How can I replace it with just a blank cell?