Excel:如果单元格共享相同的未知字符串,则对它们求和

Excel: Sum cells if they share an identical unknown string

我有 154,901 行数据,如下所示:

Text String | 340

其中 "Text String" 表示没有其他模式或顺序且无法以任何数学方式预测的可变字符串,340 表示随机整数。我如何找到共享相同字符串的所有值的总和,并根据每个唯一字符串的总数组织此数据?

例如,假设我有数据集

Alpha | 3
Alpha | 6
Beta  | 4
Gamma | 1
Gamma | 3
Gamma | 8
Omega | 10

我正在寻找某种方式将数据呈现为:

Alpha | 9
Beta  | 4
Gamma | 12
Omega | 10

关键是我的数据集太大以至于我无法手动枚举它,而且我的字符串数量有限但未知,我无法可靠地预测它们是什么。

Consider using a pivot table, and then aggregate the numbers by string. This is probably the least ugly option. – Tim Biegeleisen