Totals for Clients

solarSEAL

New Member
Joined
Jul 6, 2011
Messages
1
Hello, I need help with the excel worksheet I'm working on. I have a sheet with a list of clients in cell A and a number in cell B. Some clients appear more than once with numbers. I need to find the total of all the numbers for each client without doing this manually 1 by 1 because I have thousands upon thousands of clients.

For example:
Client A | 1
Client A | 2
Client A | 3
Client B | 2
Client B | 3
Client C | 1

I need a formula that will calculate the total for each client. Of course, I am using actual names and more complicated numbers this is just a simple example. Client A's total would be 6, Client B 5, Client C 1, and so forth.

Any help would be greatly appreciated, thanks.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
try any of the two formulas


Excel Workbook
ABCDE
1Client A1Client A66
2Client A2Client A66
3Client A3Client C11
4Client B2
5Client B3
6Client C1
Sheet1
 
Upvote 0
Hello, I need help with the excel worksheet I'm working on. I have a sheet with a list of clients in cell A and a number in cell B. Some clients appear more than once with numbers. I need to find the total of all the numbers for each client without doing this manually 1 by 1 because I have thousands upon thousands of clients.

For example:
Client A | 1
Client A | 2
Client A | 3
Client B | 2
Client B | 3
Client C | 1

I need a formula that will calculate the total for each client. Of course, I am using actual names and more complicated numbers this is just a simple example. Client A's total would be 6, Client B 5, Client C 1, and so forth.

Any help would be greatly appreciated, thanks.
Some options...

1) Create a pivot table from the data.

2) Create a distinct list of clients on a separate location, e.g. using Advanced Filter.

Let A2:B7 house the sample you posted and E2:E4 the distinct list of clients.

In F2 enter and copy down:

=SUMIF($A$2:$A$7,E2,$B$2:$B$7)

3) Not recommended, anycase for a large set of data:

In C2 enter and copy down:

=SUMIF($A$2:$A$7,A2,$B$2:$B$7)
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

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