It looks like you get merged cells in your sheet.

If so, don't work with merged cells, you get in trouble with it sooner or later.