pjmoorhouse71
New Member
- Joined
- Sep 28, 2017
- Messages
- 1
Good afternoon,
Hope someone can assist - I have the following formula which works perfectly to average the last 5 results of data in column D. Column D is a productivity rate and just a regular number
=AVERAGE(OFFSET(Stats!D3,COUNTA(Stats!D3:D100)-5,0,5.1))
However, column C has one of 4 entries - let's say either a,b,c or d (the name of a machine) - I want to adapt the above forumla so that it calculates the average of the last 5 numbers in column D based on what is column C. So I can see the average of the last 5 entries in column D where column C has "a" in it or "b" etc.
Hope this is clear and someone can help.
Thanks.
Hope someone can assist - I have the following formula which works perfectly to average the last 5 results of data in column D. Column D is a productivity rate and just a regular number
=AVERAGE(OFFSET(Stats!D3,COUNTA(Stats!D3:D100)-5,0,5.1))
However, column C has one of 4 entries - let's say either a,b,c or d (the name of a machine) - I want to adapt the above forumla so that it calculates the average of the last 5 numbers in column D based on what is column C. So I can see the average of the last 5 entries in column D where column C has "a" in it or "b" etc.
Hope this is clear and someone can help.
Thanks.