Hi there!
I am trying to perform this formula for each row, and then sum it, and then divide by n*n+1/2 (triangle number) :
(E3*(6-F3) + E7*(6-F7) + E11*(6-F11) + E15*(6-F15) + E19*(6-F19)) / (COUNT(E3:E22) * (COUNT(E3:E22) + 1) / 2)
(I have only 5 cells, each one being "merged and centered" of 4 cells)
I would love a recursive way of doing this without this manual sum, and without using a subtotal for each row (otherwise it'd be trivial, obviously).
I naively tried this, but of course it won't work:
SUM(E3:E22*(6-F3:F22)) / (COUNT(E3:E22) * (COUNT(E3:E22) + 1) / 2)
By the way, is there a "n*n+1 / 2" function somewhere that would make the second part of my formula shorter?
I am a total beginner in Excel, I am just trying to help a friend. Please forgive me if there is something obvious that I missed 
Thank you all!
Bookmarks