ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum up cells in column A that has same text in Column B. (https://www.excelbanter.com/excel-discussion-misc-queries/243018-re-sum-up-cells-column-has-same-text-column-b.html)

Nick Ng[_2_]

Sum up cells in column A that has same text in Column B.
 
That did the trick! Thanks everyone.

Didn't try out your formula, sheryakhan; I'm not good with arrays at all :(

"Ms-Exl-Learner" wrote:

just paste this formula in C1 Cell.

=SUMIF($B:$B,$B1,$A:$A)

If this post helps, Click Yes!

--------------------
(MS-Exl-Learner)
--------------------



"Nick Ng" wrote:

Hi everyone,

I was wondering if someone could help me out with an Excel problem. Assuming
I have two columns like below:

A B
-- --
22 C1234
12 C5678
8 C9012
10 C5678
51 C5678
63 C1234
87 C1234
14 C9012
etc....

How can I create a formula to automatically sum up those values of column A,
which have similar values in column B. For example, for column B = C1234, the
sum is 172 (22+63+87).

Thanks.




All times are GMT +1. The time now is 08:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com