The reason K675 is -704.44 instead of -804.44 is you don't calculate that last row. Your row counter is one short and -704.44 was in that cell from the beginning.
I think it started when you did a Count(A2:A10000). You started at 2 and counted all rows that had stuff in it. This left you one row short.
This is a VERY COMMON problem that is guarded against with code like:
which would give the last row number of data in row A.
Count counts the number of cells that are numbers. What if one of the values in column A had a letter in it? It would be one short.
In the olden days in the testing world we called this the One Off problem.
Bookmarks