Sum all cells in column B for all the cells that have the same text in column A

ygar

New Member
Joined
May 2, 2020
Messages
13
Office Version
  1. 2010
Platform
  1. Windows
Hi,

I need a formula that will add the values in column B for each member (Member names are sorted alphabetically):
Column A - MembersColumn BSum (Required result)
Member 1410
Member 16
Member 244
Member 335
Member 31
Member 31
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
How about
+Fluff New.xlsm
ABC
1Column A - MembersColumn BSum (Required result)
2Member 1410
3Member 16 
4Member 244
5Member 335
6Member 31 
7Member 31 
Master sheet
Cell Formulas
RangeFormula
C2:C7C2=IF(COUNTIF(A$2:A2,A2)=1,SUMIF(A:A,A2,B:B),"")
 
Upvote 0
How about
+Fluff New.xlsm
ABC
1Column A - MembersColumn BSum (Required result)
2Member 1410
3Member 16 
4Member 244
5Member 335
6Member 31 
7Member 31 
Master sheet
Cell Formulas
RangeFormula
C2:C7C2=IF(COUNTIF(A$2:A2,A2)=1,SUMIF(A:A,A2,B:B),"")

Yes this one also works. Thanks!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,994
Messages
6,122,633
Members
449,092
Latest member
bsb1122

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top