EXCEL 如何遞減形式排序

2015-03-25 4:13 am
Owner Peter

ABC Ltd. $123,456
CDE Ltd. $23,456
EE Ltd. $678,900

GGFF Group $2,122,224
HHGG $678,900


若Peter名下管理一大郡公司,第一組係ABC至EE Ltd.,
第二組係GGFF及HHGG,
點樣不用自己計算總額, 但又可以以用組別形式
排列出最多$既公司呢?

回答 (1)

2015-03-26 1:45 am
✔ 最佳答案
Suggest to use the Pivot Table feature:
1. Add a header row A1:B1 – Company, Value;
2. Add a new leftmost column with header Group, assign 1 for the first 3 companies, 2 for the next 2 companies;
3. Remove the empty row between the 2 groups as data list has to be contiguous;
4. Add a new column for Group Value next to Value;
5. Now the data list lies in A1:D6 (A1:D1 is header, A2:D6 is data), insert Pivot Table;
6. Put Group Value in “Column Labels”, Group Value and Group in “Row Labels”, Sum of Values in “Values”;
7. Change the sequence of Rows and Columns by changing the “more Sort options” to obtain the desire report.

2015-03-25 20:18:41 補充:
4. Add a new column for Group Value next to Value, put in cell D2 this formula =sumif(A$2:A$6,A2,C$2:C$6) and copy to D3:D6;

2015-03-26 10:36:30 補充:
If a simple sorted list is required, just sort the data list after step 4, data sort levels:
Level 1: Group Value - descending
Level 2: Group (separate different groups having same Group Value) - can be ascending or descending
Level 3: Value - descending


收錄日期: 2021-04-11 20:58:44
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20150324000051KK00090

檢視 Wayback Machine 備份