find unique text and sum value

nitr0

New Member
Joined
Jul 22, 2010
Messages
9
I have problem with one function..i dont know how to do it and whether that is possible to do with formulas or macro.

I have column Name, where can be one name many times, next column state, subject which are useless this time and columns points and totals

I want to make function that do this:
Look to column A find name1 and all same names and sum the points together and put in column totals, then find name2 and do the same..

i attach the image..
http://img594.imageshack.us/img594/595/table2n.jpg

thanks for solution
 

Some videos you may like

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
45,918
Office Version
365
Platform
Windows
Welcome to the MrExcel board!

What about using Excel's built-in Pivot Table fearture? Results are shown in columns F:G.

Excel Workbook
ABCDEFG
1NameSubjectStatePointsSum of Points
2John SmithBiologyCompleted10NameTotal
3Sebastian BrownGeographyUncompleted23Joe Boll43
4Tim BradleyAnathomyCompleted143John Smith100
5Joe BollBiologyCompleted43Sebastian Brown99
6John SmithChemistryCompleted56Tim Bradley199
7John SmithPhysicsUncompleted34Grand Total441
8Tim BradleyBiologyCompleted56
9Sebastian BrownAnathomyUncompleted76
10
Pivot table





For the future, you will get more help here if you post sample data directly in the forum so we can Copy/Paste it into our sheets for testing rather that having to type it manually liike I did this time. Here are some methods to investigate.

Excel jeanie
or
RichardSchollar’s beta HTML Maker
or
Borders-Copy-Paste
 
Last edited:

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,590
Messages
5,512,241
Members
408,885
Latest member
binduchekuri

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top