the value of x1up when it finishes is -4162 but i only have 2 row in this test example? should it not be 65536 less 2?

i have tried clearing the cells below my data but it didnt help?

thanks