Hello,
I am having trouble creating a basic average function that will average groups of numbers. In the data set pasted below, I would like a function that can be copied to average groups of three numbers so that I don't have to repeat the typing of the function, ie the average of C1:C3, then copying (dragging down) the function so it automatically averages C4:C6. When I try to copy the average function, instead of following this pattern, I will get first an ave. of C1:C3, then C2:C4, etc.
Can someone help?
A B C
1 EGA 1.17
2 EGA 1.15
3 EGA 1.25
4 MRO 1.09
5 MRO 1.08
6 MRO 0.97
7 JVA 1.13
8 JVA 1.12
9 JVA 1.18
Try something like:
=AVERAGE(INDEX($C:$C,1+((ROW(A1)-1)*3)):INDEX($C:$C,3+((ROW(A1)-1)*3)))
copied down until you get errors.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks