Can you explain what it is you are trying to achieve with that formula?
It looks like you are trying to add up all the cells that contain "1" in them. Is that right?
Is this related to your previous question where if the cell is a date then you want to see "1" returned? Ifs so, simply summing that range of cells should give you what you need.