+ Reply to Thread
Results 1 to 3 of 3

Sum of one column based upon values in another

  1. #1
    Registered User
    Join Date
    04-07-2008
    Posts
    2

    Sum of one column based upon values in another

    I am not sure what to call this functionality so I was unable to effectively search, so I appologize if this has been asked and answered before.

    For ease of example, here is what I am looking to do.

    Worksheet with multiple rows of data.
    Column A contains a quantity
    Column B contains a qualifier number 1-5

    I want to be able to, in a seperate cell, (on another worksheet page, but not the issue) have a list that states:
    Qualifier#1: sum of column A rows with column B = 1

    And then subsequently, do the same for the other levels of qualifier
    Qualifier#2: sum of column A rows with column B= 2
    Qualifier#3: sum of column A rows with column B= 3
    Qualifier#4: sum of column A rows with column B= 4
    Qualifier#5: sum of column A rows with column B= 5


    Is this possible and if so how?

    thanks in advance.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I think probably SUMIF() can do the job.

    e.g. =Sumif(B:B,1,A:A) will sum values in column A where column B has a 1 in it.
    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
    04-07-2008
    Posts
    2
    That did the trick. Thank you very much.

+ 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