+ Reply to Thread
Results 1 to 5 of 5

Summing multiple entries with the same criteria

  1. #1
    Registered User
    Join Date
    07-12-2008
    Location
    atlanta
    Posts
    6

    Summing multiple entries with the same criteria

    I'm at my wits end with this particular task, so I'm looking to be pointed in the right direction by someone here. I'm working with 3 worksheets, one with the numbers to be summed, one with the lists to be parsed to see which numbers to sum, and one where results will be placed. I'll attach the file at the end.

    What needs to happen is on worksheet A with the list of items, and its corresponding category, I need to be able to add all of the items on worksheet B whenever the category is matched as the criteria. My original function was a SUMIF(categories, particular category, data list), which left out several of the data and probably didn't do it in the right order anyway.

    This is not a work assignment, rather for class, and my teacher has not emailed me in three days after I asked him for help on this. Additionally, I do not believe we are required to use macros (though it would help, as a former programmer), so only excel functions should be required. I'll be watching this thread in case I explained it poorly.
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    have alook at this.
    since items are unique (size doesn't matter)and therfore only have to be catogirised as
    DR/ADE/PH
    VAR JC
    FCOJ
    you can use vlookup to find all the catogaries against all items
    so look up product on prime against list on org
    this will give all types [vlookup(column "e2 prime)]

    then use sumif on "market" in the format

    =SUMIF(Prime!$E:$E,$A12,Prime!D:D)
    ie sumif(if in column e sheet prime , the word in a12 is found then sum corresponding values in column d
    hope that helps and i get 5* homework points or whatever lol
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-12-2008
    Location
    atlanta
    Posts
    6
    Yea I think that will do it, thanks so much. Just for my own edification, would it have been possible without adding that new column E on Prime?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    i can't think of another way, to create a range for sumif to look a
    however lots of things are possible perhaps someone else will post a better answer!

  5. #5
    Registered User
    Join Date
    07-12-2008
    Location
    atlanta
    Posts
    6
    Thanks again, I'll be off to finish this thing now.

+ 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