- UID
- 223450
- 帖子
- 359
- 主题
- 10
- 注册时间
- 2011-7-11
- 最后登录
- 2014-8-7
|
6#
发表于 2013-4-19 22:35
| 只看该作者
1/ Insert 10 rows ABOVE all your data.
2/ enter the following ARRAY formula (ctrl-shift-enter) into A1
{=SUM(OFFSET(A$11,0,0,COUNT(A$11:A$65000),1)*(CEILING(RANK(OFFSET(A$11,0,0,COUNT(A$11:A$65000),1),OFFSET(A$11,0,0,COUNT(A$11:A$65000),1))/COUNT(A$11:A$65000)*10,1)=ROW()))/SUM(1*(CEILING(RANK(OFFSET(A$11,0,0,COUNT(A$11:A$65000),1),OFFSET(A$11,0,0,COUNT(A$11:A$65000),1))/COUNT(A$11:A$65000)*10,1)=ROW()))}
3/ Fill down to A10, then fill right
A1:A10 will give you decile averages for col A, B1:B10 for col B…
andd soo on and sooo on |
|