The numbers in column “A” are averaged and printed in column “C1”, but I want the average to be printed on the next row every time I run the program, what should I do?
You can use a for each row to see if the cell you need is empty, for example you can use IF row(2).tostring = string.empty, write in your average but if it is not empty, move on to the next row
E.g.
If row(2).tostring = string.empty → write cell
else
move to next row