+ Reply to Thread
Results 1 to 3 of 3

Combine Rows

  1. #1
    Registered User
    Join Date
    12-13-2007
    Posts
    1

    Combine Rows

    I'm pretty rubbish at excel but wondered if anyone could give us a hand.

    I've a list of pages printed on a single printer, in the format of;

    user 1
    user 3
    user2 5
    user2 6

    So each print job makes a row with their username and how many pages they've printed. Now as the user's have printed more than once, i would like to add all these up. So in the above example it would turn into;

    user 4
    user2 11

    I have about 2500 rows of all different users. so is there a function/sum/whatever i can do to work this out quicky?

    many thanks

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    Take a look at Data>Pivot Table...

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Pivot Tables would most certainly handle this situation, especially if your data is laid out nicely and you know how pivot tables work.

    Another option might be to use a SUMIF formula. For example, if column A contains all of your users (including duplicates) and column B contains totals of all of their print jobs as in your example, you could use something like:

    =SUMIF(A:A,"user2",B:B)

    Or if you had a listing of all the individual users in column E1:E20, in F1 you could put

    =SUMIF(A:A,E1,B:B)

    and then simply drag that formula down to your last user in column E.

    Try both options and use what makes more sense for you!
    Last edited by Paul; 12-13-2007 at 11:37 PM.

+ 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