Hello,
I was wondering if you could find a solution to the case below.
In the following example, I first start from a loop in 1 single sheet (that works) and then modify it to write the results from a loop into a different sheet (what doesn't work). See loop9 and loop10 below respectively.
If you find however another way to perform this code, in a simpler way, please let me know. The idea is to perform this task for over 65K lines.
In 1 single sheet, and working:
To retrieve data from sheet 1 and put results in sheet 'Avg' however, the result does not work. I have tried various versions of what I put below. I have tried to simplify by defining a function 'AverageFor4' that calculates average of columns A & B in column C per 2 lines (so an average of 4 numbers). I want to write the results on sheet 'Avg', whereas the data are on sheet 1.
Thank you.
Bookmarks