Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは操作の望ましい結果です
したがって、関数は、一致するすべての A 値のすべての B 値を合計する必要があります。
C1 に入り、C1:C4 に展開されます。
=IF(A1<>A2,SUMIF(A:A,A1,B:B),"")
IF は、次の行が異なるかどうかを確認し、異なる場合は SUMIF を使用します。データが並べ替えられていない場合は、もう少し複雑なチェックを実行して、その下に A1 の値がもうないかどうかを確認できます (COUNTIF を使用)。