just test for null (or maybe "") before adding, if it fails thetest just more on.dim totaldim rowdim colcol = 2For Row = 1 to 10if not isNull(cells(row,col).value) thentotal = total + cells(row,col).valueend ifnext row