Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Sum up cells in column A that has same text in Column B.


Hi!
you can use sumproduct approach like

=sumproduct(($b:$b=$b1)*($a:$a))


"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.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sum up cells in column A that has same text in Column B.

But that formula would only work in xl2007.

(It would work in earlier versions if the entire column were not used.)

sheryarkhan wrote:

Hi!
you can use sumproduct approach like

=sumproduct(($b:$b=$b1)*($a:$a))

"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.



--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Same Text to All Cells in Column S1L1Y1 Excel Discussion (Misc queries) 2 May 26th 08 01:07 AM
Display cells(text) in one column based on cells which are present inother column [email protected] Excel Discussion (Misc queries) 1 May 12th 08 01:40 PM
Return text in Column A if Column B and Column K match jeannie v Excel Worksheet Functions 4 December 13th 07 07:36 PM
How do I append same text to all the cells in a column at once? Abhijit Bamishte Excel Worksheet Functions 4 December 15th 06 07:26 PM
COUNTING TEXT CELLS IN A COLUMN Maureen Excel Worksheet Functions 4 May 9th 05 06:25 PM


All times are GMT +1. The time now is 03:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"