i want to do average of large set of data. For example 1,1,1,1,2,2,2,2,2,3,3,4,4,4,4,5,5,6,7,7,7,7,7,7
i need average of 1,1,1,1 and than 2,2,2,2,2 and than 33 and than 4444 and than 55 and than 6 and than 777777. is it possible ? can any one help me in this ?
=IF(MOD(ROW(),20)=1,AVERAGE(OFFSET(K1,,,20)),"") works but only same number of bin every time. here, bin is variable ...looking answer from some expert... average.xlsx
Microsoft Excel
Last Comment
Frank Helk
8/22/2022 - Mon
Nikhil Sharma
ASKER
i want to do average of large set of data. For example 1,1,1,1,2,2,2,2,2,3,3,4,4,4,4,5,5,6,7,7,7,7,7,7
i need average of 1,1,1,1 and than 2,2,2,2,2 and than 33 and than 4444 and than 55 and than 6 and than 777777. is it possible ? can any one help me in this ?
=IF(MOD(ROW(),20)=1,AVERAGE(OFFSET(K1,,,20)),"") works but only same number of bin every time. bin is variable ...looking answer from some expert... please find the attched file average.xlsx
Average of 1,1,1,1 = 1
Average of 2,2,2,2,2 = 2
Average of 3,3 = 3
What are you trying to achieve??
Nikhil Sharma
ASKER
i have acquired the data from experiment. The data is in excel form. I have attached the sheet with question. This contains about 2000 data points. Like this , i have 40 sheets. I was looking for some formula in excel which can solve this.
this formula
=IF(MOD(ROW(),20)=1,AVERAGE(OFFSET(K1,,,20)),"")
gives me average of 20 data sets and i have to pull the formula up to 2000 data points. However,in my case the interval is not fixed. It depends on repetition of number.
average of .5 , .5 than .6,.6,.6 and .7,.7,.7 and so on.....but using some formula ....its logic can be , average till same number appears other wise move to next...
Rob Henson
But your values in column F are not the same, they are rounded to 1 decimal place. Do you want the average based on the rounded value?
If you have no further questions, please do not forget to close the question. You can choose an Accepted solution and Assisted solution if so required.
Thanks
Rob H
Frank Helk
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I have recommended this question be closed as follows:
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
i need average of 1,1,1,1 and than 2,2,2,2,2 and than 33 and than 4444 and than 55 and than 6 and than 777777. is it possible ? can any one help me in this ?
=IF(MOD(ROW(),20)=1,AVERAG