Forum Discussion

Elli_viivi's avatar
Elli_viivi
Copper Contributor
Aug 14, 2023
Solved

Problem with every 5 row average function

Hello!   I have a very large table (over 45000 rows so manual calculation is not an option) and I want to calculate the averages for every 5 rows. My data starts at row 2 and the first row is title...
  • mtarler's avatar
    mtarler
    Aug 14, 2023

    Patrick2788  I read the request slightly differently and that they need to average every set of 5 rows (1-5, 6-10, etc...)  so I suggest this:

    =BYROW(WRAPROWS(values, 5),LAMBDA(vector, AVERAGE(vector)))

Resources