Sum of unique values in a list

jpettit

Board Regular
Joined
Feb 20, 2002
Messages
57
Hi there!

I'm looking to sum up a unique list. I've attached how i want the data to look.
AkonaTimekeeping2.xls
ABCDE
1ClientBillableClientTotalBillable
2StudentA$10.00StudentA$20.00
3StudentB$30.00StudentB$90.00
4StudentA$10.00StudentC$20.00
5StudentB$50.00
6StudentC$20.00
7StudentB$10.00
Sheet1


I want all the Student A, Student B, etc summed up in a new 'table'. I know i can use a pivot table for this, but if possible i would like to use a formula.

I would also like it dymanic, so that if a Student D, etc was added to COL A then it would automatically add it to the summed table (COl D).
Make any sense?

Thanks.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
This works for the summing part of my problem.
The part i need now is the addition of more clients that get added to the list. i.e. Student D
AkonaTimekeeping2.xls
ABCDE
1ClientBillableClientTotalBillable
2StudentA$10.00StudentA$20.00
3StudentB$30.00StudentB$90.00
4StudentA$10.00StudentC$20.00
5StudentB$50.00"howdoigetStudentDhereautomatically?"$-
6StudentC$20.00$-
7StudentB$10.00$-
8StudentD$40.00$-
Sheet1


Thanks.
 
Upvote 0
You added a reply to the link Jon quoted:

"Can someone comment on a similar problem i have?:
Topic: http://www.mrexcel.com/board2/viewtopic.php?t=84902

My problem is less complex. Thanks.
"

In fact, yours is a bit more complex if you also want the student names in ascending order. If that's indeed the case, you'll need the revised Method 1 in:

http://www.mrexcel.com/board2/viewtopic.php?t=8659

You can also opt for a non-formula method: Pivot Tables for which you can define a dynamic named range.
 
Upvote 0

Forum statistics

Threads
1,215,489
Messages
6,125,093
Members
449,205
Latest member
ralemanygarcia

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