+ Reply to Thread
Results 1 to 5 of 5

Data summation problem

  1. #1
    Registered User
    Join Date
    05-11-2007
    Posts
    2

    Data summation problem

    Hi! I have data in the following format:
    [name] [type] [amount]
    harry A $xx
    harry A $xx
    harry 4 $xx
    harry 3 $xx
    jen 3 $xx
    jen 3 $xx
    jen A $xx

    I need to subtotal the amount column at each change in the type per employee. So from my example, I need the dollar sum for each type that "Harry" has.

    I have been doing this manually for large files. There HAS to be an easier way with a function in excel.

    Can anyone please help??????

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    There is actually a tool to do just that in Excel...

    Data|Subtotals.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-11-2007
    Posts
    2
    The subtotals button only works for one column.
    If i use it with the criteria of "name", it totals everything under them.
    If I use it with the criteria of "type" it will add the types together even if it's another person.
    I need it to subtotal for both columns. Does that make sense?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Perhaps a Pivot Table will work for you.... Data|Pivot Tables....

    You can list names in rows and type in columns, then have amount populated within

  5. #5
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    May I see a sample of your workbook?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1