为具有重复标题的记录添加总和


0

我有一个电子表格,其中我需要为学校名称添加相同的数量。并非所有学校名称都相同,需要添加。

我的数据是3000行长,下面是我的数据样本。

我需要一种方法来自动化它,以便我可以为阿比林独立学区获得629(399 + 230 = 629)的总和数量。我需要所有重复学校名称的总和。

 **QTY  Schoolname**
+693    7th Street Elementary School
+612    Aberdeen Elementary School
+399    Abilene Ind School District
+230    Abilene Ind School District
+431    Abraham Lincoln Elem School
+630    AcadeMir Charter School West
+212    ACADEMY ADVENTURES MIDTOWN
+715    Academy Ind School District
+345    Academy Of Dover Charter Sch
+372    Addison Elementary School
+434    Advance Public School
+1,040  ADVANTAGE ACADEMY ADMIN OFFICE
+330    Agape Inc
+240    AHFACHKEE SCHOOL
+555    Aiken Co Public Schools
+480    Aiken Co Public Schools
+400    Alachua Elementary School
+309    Alamance-Burlington Sch Dist
+530    Alamo City School
+536    Alamo City School District
+280    Alamo City School District
+300    Albert Einstein Endeavor Aca
+775    Albertville City School Dist
+273    Alexander II Magnet School
+242    Alexandria City Pub Sch Dist
+600    Algonac Cmty School District
+347    Algonac Cmty School District
+241    Algonac Cmty School District

数据结构是两列,一列是数量,一列是学校名称?数量实际上是否有“+”(除非您使用特殊格式以这种方式显示,否则会使其成为文本而不是数字)?
fixer1234

Answers:


1

选择要插入ngt;数据透视表的表。

在数据透视表中,选择Schoolname作为行标签,选择QTY作为值(默认为sum)。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.