Excel-重复项的总和
我需要公式以这种方式整合价值观: 乔安娜9,凯特6,玛丽9,杰克5,尼娜4,乔安娜3,凯特2,乔安娜1 得到 乔安娜13,凯特8,玛丽9,杰克5,尼娜4 第一个数据列表被输出,粗体是我想要得到的结果。 我既不能用按钮也不能用枢轴,只能用公式。Excel-重复项的总和,excel,excel-formula,formula,Excel,Excel Formula,Formula,我需要公式以这种方式整合价值观: 乔安娜9,凯特6,玛丽9,杰克5,尼娜4,乔安娜3,凯特2,乔安娜1 得到 乔安娜13,凯特8,玛丽9,杰克5,尼娜4 第一个数据列表被输出,粗体是我想要得到的结果。 我既不能用按钮也不能用枢轴,只能用公式。 提前感谢。您可以按照以下步骤操作,我已尝试解决您的问题:- 首先尝试将所有这些值存储在一列中(删除分隔符) 然后,您可以尝试使用“”(空格)作为分隔符拆分每个字符串,并且必须使用以下两个公式将名称和编号存储在两个不同的列中:- To Store name
提前感谢。您可以按照以下步骤操作,我已尝试解决您的问题:-
To Store name use this Formulae :-
=LEFT(A1, SEARCH(" ",A1,1)-1)
What the above function is doing:- Let's consider that SEARCH(" ", A1,1) returns 5, it means that you are only considering the first five characters of the string starting from left.
=SUMPRODUCT((B1:B8=B1)*(C1))
What the above function is doing:- Let's consider that names are present in the B column and the number is present in the C column. So based on names present in column B1 to B8, it will aggregate the sum on the C column and give you the results.
=SUMPRODUCT((B1:B8=B1)*(C1))
What the above function is doing:- Let's consider that names are present in the B column and the number is present in the C column. So based on names present in column B1 to B8, it will aggregate the sum on the C column and give you the results.