在下面的示例1100和Salaries中,实际上是单独的列。我希望将所有1100个代码组合在一起,并将数据总结为一个类似命名的行。并重复2100个代码,得到8行数据,总计为2行数据。见下文。
1100 SALARIES $1,017,558 $1,001,728 $938,026 $(63,702)-6.4%
1100 SALARIES $237,325 $223,110 $225,622 $2,512 1.1%
1100 SALARIES $30,715 $35,000 $35,000 $- 0.0%
2100 BENEFITS $94,859 $96,378 $91,697 $(4,681) -4.9%
2100 BENEFITS $116,234 $138,774 $193,864 $55,090 39.7%
2100 BENEFITS $156,002 $155,823 $196,448 $40,625 26.1%
2100 BENEFITS $3,488 $3,430 $13,847 $10,418 303.8%
2100 BENEFITS $7,474 $7,349 $12,916 $5,567 75.8%
3000 OTHER INSTRUCTIONAL COST $2,865 $3,714 $3,714 $- 0.0%
3001 PURCHASE SERVICES $- $- $- $- 0.0%
5500 PROFESSIONAL DEVELOPMENT $2,690 $2,491 $2,367 $(124) -5.0%
6000 MATERIALS / SUPPLIES $19,983 $13,290 $12,625 $(665) -5.0%
8200 EQUIPMENT ADDITIONS $3,353 $2,401 $2,281 $(120) -5.0%
TOTAL $1,692,546 $1,683,487 $1,728,407 $44,920 2.7%
答案 0 :(得分:0)
这取决于您拥有的类别数量以及它们是否经常更改。如果它们相当稳定,您可以使用公式,例如:
=SUMIF(A1:A8,1100,C1:C8)
这将添加C列中的所有数字,其中A列中的值为1100。
如果您的桌子很大或经常更换,您也可以使用数据透视表。