Only apply a cell type if there is a value