Validate for row n column

Both tested and work